server/php/basic/public_html/renkan_read.php
author ymh <ymh.work@gmail.com>
Thu, 07 Apr 2016 13:14:36 +0200
changeset 602 fa80b0104695
parent 442 adb907bba956
permissions -rw-r--r--
It is not up to the generic api to decide on CSRF policy. This must be left to client applications

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