server/php/basic/public_html/renkan_read.php
author rougeronj
Tue, 15 Sep 2015 12:24:58 +0200
changeset 521 0d9b3f1b97e7
parent 442 adb907bba956
permissions -rw-r--r--
Create new view id the current one isn't in the project or if it's the first one (so we let the first one always unchanged) Otherwise modify the current one

<?php

    require_once(realpath(dirname(__FILE__) . "/../resources/config.php"));

    require_once(LIBRARY_PATH . "/templateFunctions.php");

    $variables = ['config' => $config, 'renkanId' => $_GET['renkanId']];
    $css = [
        'static/lib/renkan/css/renkan.css'
    ];

    renderLayoutWithContentFile("renkan_read.php", $variables, $css);