help?
This commit is contained in:
parent
b9cc427560
commit
a7b0e045ee
1 changed files with 1 additions and 4 deletions
|
@ -6,13 +6,10 @@
|
||||||
// Include components
|
// Include components
|
||||||
require_once('/var/www/flashii.net/_sakura/sakura.php');
|
require_once('/var/www/flashii.net/_sakura/sakura.php');
|
||||||
|
|
||||||
// Initialise templating engine
|
|
||||||
$flashii->initTwig();
|
|
||||||
|
|
||||||
// Add page specific things
|
// Add page specific things
|
||||||
$renderData['page'] = [
|
$renderData['page'] = [
|
||||||
'title' => 'Flashii Dev'
|
'title' => 'Flashii Dev'
|
||||||
];
|
];
|
||||||
|
|
||||||
// Print page contents
|
// Print page contents
|
||||||
print $flashii->twig->render('main/index.tpl', $renderData);
|
print $flashii->_TPL->render('main/index.tpl', $renderData);
|
||||||
|
|
Reference in a new issue