server/php/basic/public_html/renkan_read.php
author rougeronj
Thu, 24 Sep 2015 13:31:13 +0200
changeset 547 0ce3dcdf24f7
parent 442 adb907bba956
permissions -rw-r--r--
- add option to prevent url parameters behavior - on load, in case there is no view in the project, create and save one autoscaled

<?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);