server/php/basic/public_html/index.php
author durandn
Tue, 03 May 2016 14:32:28 +0200
changeset 610 b9edc1c1538a
parent 442 adb907bba956
permissions -rw-r--r--
reworked views and serializers to pass and take into account the "validation timestamp" to the model + refactored models to have a content validation method + adapted tests

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