server/php/basic/public_html/index.php
author durandn
Thu, 03 Mar 2016 17:09:27 +0100
changeset 593 2ff785d7026c
parent 442 adb907bba956
permissions -rw-r--r--
corrected tests and serializer so they can support custom user model, added a readme (to be expanded) with configuration information for the field renkan api will use to render user information

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