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
|
||||
/*
|
||||
* Sakura Main Index
|
||||
*/
|
||||
|
||||
// Declare Namespace
|
||||
namespace Sakura;
|
||||
|
||||
// Include components
|
||||
require_once '/var/www/flashii.net/_sakura/sakura.php';
|
||||
|
||||
// Add page specific things
|
||||
$renderData['page'] = [
|
||||
'title' => 'Flashii Dev'
|
||||
];
|
||||
$renderData['newsPosts'] = Main::getNewsPosts(3);
|
||||
|
||||
// Print page contents
|
||||
print Main::$_TPL->render('main/index.tpl', $renderData);
|
||||
<?php
|
||||
/*
|
||||
* Sakura Main Index
|
||||
*/
|
||||
|
||||
// Declare Namespace
|
||||
namespace Sakura;
|
||||
|
||||
// Include components
|
||||
require_once '/var/www/flashii.net/_sakura/sakura.php';
|
||||
|
||||
// Add page specific things
|
||||
$renderData['page'] = [
|
||||
'title' => 'Flashii Dev'
|
||||
];
|
||||
$renderData['newsPosts'] = Main::getNewsPosts(3);
|
||||
|
||||
// Print page contents
|
||||
print Main::$_TPL->render('main/index.tpl', $renderData);
|
||||
|
|
Reference in a new issue