what even changfed
This commit is contained in:
parent
5e8d600c2c
commit
4a9115da8f
1 changed files with 19 additions and 19 deletions
|
@ -1,19 +1,19 @@
|
||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
* Sakura Main Index
|
* Sakura Main Index
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Declare Namespace
|
// Declare Namespace
|
||||||
namespace Sakura;
|
namespace Sakura;
|
||||||
|
|
||||||
// Include components
|
// Include components
|
||||||
require_once '/var/www/flashii.net/_sakura/sakura.php';
|
require_once '/var/www/flashii.net/_sakura/sakura.php';
|
||||||
|
|
||||||
// Add page specific things
|
// Add page specific things
|
||||||
$renderData['page'] = [
|
$renderData['page'] = [
|
||||||
'title' => 'Flashii Dev'
|
'title' => 'Flashii Dev'
|
||||||
];
|
];
|
||||||
$renderData['newsPosts'] = Main::getNewsPosts(3);
|
$renderData['newsPosts'] = Main::getNewsPosts(3);
|
||||||
|
|
||||||
// Print page contents
|
// Print page contents
|
||||||
print Main::$_TPL->render('main/index.tpl', $renderData);
|
print Main::$_TPL->render('main/index.tpl', $renderData);
|
||||||
|
|
Reference in a new issue