/r/php
This commit is contained in:
parent
4b39892b68
commit
fcc1b49740
3 changed files with 50 additions and 19 deletions
|
@ -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
19
main/credits.php
Normal 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
5
todo.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
===
|
||||
todo list
|
||||
===
|
||||
|
||||
> Fix footer resizing because of the removal of the Affiliates section
|
Reference in a new issue