summary refs log tree commit diff stats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php index 83cdd99..79fce10 100755 --- a/index.php +++ b/index.php
@@ -34,7 +34,7 @@ if (strpos($_SERVER['REQUEST_URI'],'index.php'))
34 34
35ob_start(); 35ob_start();
36 36
37$pageName = isset($_GET['area']) ? $_GET['area'] : 'welcome'; 37$pageName = basename($_GET['area']);
38 38
39if (file_exists('pages/' . $pageName . '.php')) 39if (file_exists('pages/' . $pageName . '.php'))
40{ 40{