summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-03-04 15:41:05 +0100
committerneoraider <devnull@localhost>2006-03-04 15:41:05 +0100
commit75057f07edfe2fd8cad316701555b7a56dc01da6 (patch)
treece5b3d47874d2eeebfd8f000f828259f722263af /index.php
parentcea3e4c0de51683979fdad6868c9e383e9039f10 (diff)
downloadneon-75057f07edfe2fd8cad316701555b7a56dc01da6.tar
neon-75057f07edfe2fd8cad316701555b7a56dc01da6.zip
Unnoetige DB-Klasse entfernt + alle Aufrufe auf AdoDB umgestellt;
Unquote-Funktion hinzugefuegt
Diffstat (limited to 'index.php')
-rw-r--r--index.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/index.php b/index.php
index 995f7e9..7c8dc3c 100644
--- a/index.php
+++ b/index.php
@@ -1,10 +1,10 @@
<?PHP
- include('config/config.inc.php');
+ require_once('config/config.inc.php');
- include('code/message.inc.php');
- include('code/util.inc.php');
- include('code/pages.inc.php');
- include('code/nav.inc.php');
+ require_once('code/message.inc.php');
+ require_once('code/util.inc.php');
+ require_once('code/pages.inc.php');
+ require_once('code/nav.inc.php');
header('Content-type: text/html;charset=UTF-8');
@@ -12,7 +12,7 @@
$template = 'default';
$style = $config['default_style'];
- if($_GET['page']) $page = $_GET['page'];
+ if($_GET['page']) $page = Unquote($_GET['page']);
else $page = $config['home'];
$template_data = join('', file('templates/' . $template));