This commit is contained in:
flash 2015-04-01 17:56:51 +02:00
parent 4b39892b68
commit fcc1b49740
3 changed files with 50 additions and 19 deletions

View file

@ -10,8 +10,15 @@ ErrorDocument 401 /404.php
# Rewrite Stuff
RewriteEngine on
RewriteBase /
Options +FollowSymLinks -Indexes
# Remove .php from the url
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
# Rewrite Rules
# Serving Images

19
main/credits.php Normal file
View file

@ -0,0 +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);

5
todo.txt Normal file
View file

@ -0,0 +1,5 @@
===
todo list
===
> Fix footer resizing because of the removal of the Affiliates section