server/php/basic/public_html/index.php
author rougeronj
Thu, 25 Jun 2015 18:09:49 +0200
changeset 510 a8f02d66bf02
parent 442 adb907bba956
permissions -rw-r--r--
adapt the viewRepr to support a temp View (a representation without a model) update the router to send a event also if the parameters are null

<?php

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

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


    $variables = array(
        'renkans' => listProjects()
    );

    $css = ['static/lib/foundation/css/foundation-icons.css'];

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