From 8a90904bd4798cf0ca3bbf9a1f39d3a1ac1876fa Mon Sep 17 00:00:00 2001 From: keverw Date: Mon, 16 Jan 2012 23:27:21 -0500 Subject: [PATCH] Got rid of the use of $_SERVER['DOCUMENT_ROOT'] --- Upload/404.php | 6 +++--- Upload/about.php | 6 +++--- Upload/admin.php | 6 +++--- Upload/index.php | 6 +++--- Upload/privacy.php | 6 +++--- Upload/search.php | 6 +++--- Upload/submit.php | 6 +++--- Upload/system/start.php | 2 +- 8 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Upload/404.php b/Upload/404.php index 034e675..362c170 100644 --- a/Upload/404.php +++ b/Upload/404.php @@ -1,11 +1,11 @@ 404 WILL GO HERE \ No newline at end of file diff --git a/Upload/about.php b/Upload/about.php index 3dee1eb..50eb968 100644 --- a/Upload/about.php +++ b/Upload/about.php @@ -1,11 +1,11 @@ CONTENT WILL GO HERE \ No newline at end of file diff --git a/Upload/admin.php b/Upload/admin.php index f039136..2b47739 100644 --- a/Upload/admin.php +++ b/Upload/admin.php @@ -1,8 +1,8 @@ \ No newline at end of file diff --git a/Upload/index.php b/Upload/index.php index 51d041a..038495d 100644 --- a/Upload/index.php +++ b/Upload/index.php @@ -1,8 +1,8 @@ \ No newline at end of file diff --git a/Upload/privacy.php b/Upload/privacy.php index 56918dc..15797e5 100644 --- a/Upload/privacy.php +++ b/Upload/privacy.php @@ -1,11 +1,11 @@ CONTENT WILL GO HERE \ No newline at end of file diff --git a/Upload/search.php b/Upload/search.php index 05fb9af..89b3a3b 100644 --- a/Upload/search.php +++ b/Upload/search.php @@ -1,8 +1,8 @@ \ No newline at end of file diff --git a/Upload/submit.php b/Upload/submit.php index f85d422..9328e9f 100644 --- a/Upload/submit.php +++ b/Upload/submit.php @@ -1,8 +1,8 @@ \ No newline at end of file diff --git a/Upload/system/start.php b/Upload/system/start.php index 6b9ff2e..5b907d6 100644 --- a/Upload/system/start.php +++ b/Upload/system/start.php @@ -2,7 +2,7 @@ session_start(); mb_language('uni'); mb_internal_encoding('UTF-8'); -require $_SERVER['DOCUMENT_ROOT'] . '/system/config.php'; +require 'config.php'; function create_slug($string) {