sakura
This commit is contained in:
parent
bcf0e02d6b
commit
738029a101
3 changed files with 20 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
* Flashii.net Main Index
|
* Sakura Main Index
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Declare Namespace
|
// Declare Namespace
|
||||||
|
|
|
@ -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
10
system/system.php
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Sakura System
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Declare Namespace
|
||||||
|
namespace Sakura;
|
||||||
|
|
||||||
|
// Include components
|
||||||
|
require_once('/var/www/flashii.net/_sakura/sakura.php');
|
Reference in a new issue