This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/main/index.php

18 lines
397 B
PHP

<?php
/*
* Flashii.net Main Index
*/
// Include components
require_once('/var/www/flashii.net/_sakura/sakura.php');
// Initialise templating engine
$flashii->initTwig();
// Add page specific things
$renderData['page'] = array_merge($renderData['page'], [
'title' => 'Flashii Dev'
]);
// Print page contents
print $flashii->twig->render('main/index.tpl', $renderData);