server/php/basic/public_html/index.php
author rougeronj
Thu, 18 Jun 2015 17:18:15 +0200
changeset 507 fe71fdbc6663
parent 442 adb907bba956
permissions -rw-r--r--
change this.render to this.render.view which handle the representation of the view

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