This commit is contained in:
flash 2015-03-29 05:16:42 +02:00
parent bcf0e02d6b
commit 738029a101
3 changed files with 20 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<?php
/*
* Flashii.net Main Index
* Sakura Main Index
*/
// Declare Namespace

View file

@ -1 +1,9 @@
# Empty .htaccess to make git realise this directory exists
Options -Indexes
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !/system\.php [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/][a-zA-Z0-9./]+)$ system.php?id=$1 [L]

10
system/system.php Normal file
View file

@ -0,0 +1,10 @@
<?php
/*
* Sakura System
*/
// Declare Namespace
namespace Sakura;
// Include components
require_once('/var/www/flashii.net/_sakura/sakura.php');