server/php/basic/public_html/index.php
author rougeronj
Mon, 14 Sep 2015 11:48:24 +0200
changeset 516 7d1d44b53af5
parent 442 adb907bba956
permissions -rw-r--r--
small fixes to be sure the project and the view are loaded before using it

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