server/php/basic/public_html/renkan_read.php
author rougeronj
Wed, 03 Jun 2015 17:27:46 +0200
changeset 471 e0c7be5dc02c
parent 442 adb907bba956
permissions -rw-r--r--
Add a router to handle fragment identifier Set up a listener of the router in the scene to update it Start Backbone.history (eventlistener of the router) when all the project is loaded Include router.js to all the test file

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