server/php/basic/public_html/index.php
author durandn
Thu, 21 Apr 2016 15:18:19 +0200
changeset 605 13d355fd09bf
parent 442 adb907bba956
permissions -rw-r--r--
updated uri to allow optional trailing slash on single resource URIs (django automatic redirects don't carry over the Authorization header that can sometimes be needed, for instance with OAuth)

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