what even changfed

This commit is contained in:
flash 2015-04-01 19:05:55 +02:00
parent 5e8d600c2c
commit 4a9115da8f

View file

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