diff --git a/_sakura/config/config.php b/_sakura/config/config.php deleted file mode 100644 index be94481..0000000 --- a/_sakura/config/config.php +++ /dev/null @@ -1,26 +0,0 @@ - +
+
+ + + comments powered by Disqus + {% include 'global/footer.tpl' %} diff --git a/main/index.php b/main/index.php index 224e9b7..da60fc5 100644 --- a/main/index.php +++ b/main/index.php @@ -11,7 +11,8 @@ require_once '/var/www/flashii.net/_sakura/sakura.php'; // Add page specific things $renderData['page'] = [ - 'title' => 'Flashii Dev' + 'title' => 'Flashii Dev', + 'newsComments' => false ]; $renderData['stats'] = [ 'userCount' => ($userCount = count($users = Users::getAllUsers())) .' user'. ($userCount == 1 ? '' : 's'), diff --git a/main/news.php b/main/news.php index a80821b..6cf70d9 100644 --- a/main/news.php +++ b/main/news.php @@ -10,10 +10,11 @@ namespace Sakura; require_once '/var/www/flashii.net/_sakura/sakura.php'; // Add page specific things -$renderData['page'] = [ - 'title' => 'Flashii News' -]; $renderData['newsPosts'] = Main::getNewsPosts((isset($_GET['id']) && !isset($_GET['xml']) && is_numeric($_GET['id'])) ? $_GET['id'] : null, (isset($_GET['id']) && !isset($_GET['xml']) && is_numeric($_GET['id']))); +$renderData['page'] = [ + 'title' => 'Flashii News', + 'newsComments' => false +]; // News XML, don't really care so yeah if(isset($_GET['xml'])) {