From: Alan J. Pippin Date: Mon, 18 Feb 2008 04:14:58 +0000 (-0700) Subject: Undid the change of the include path. It was better the way it was. X-Git-Tag: release_0_3_0~13 X-Git-Url: http://git.pippins.net/embedvideo/.git/%22%22.%24thumbnail.%22/%7Blink_hometeaching%7D?a=commitdiff_plain;h=c98a532f9ec4c806eda3e0a91ebbf7da6886102e;p=eq%2F.git Undid the change of the include path. It was better the way it was. --- diff --git a/inc/class.eq.inc.php b/inc/class.eq.inc.php index b3730dd..a5cc2b4 100644 --- a/inc/class.eq.inc.php +++ b/inc/class.eq.inc.php @@ -68,11 +68,10 @@ class eq function eq() { - $base_path = $_SERVER['DOCUMENT_ROOT']; - if(file_exists("$base_path/eq/setup/eq_config.local")) { - include("$base_path/eq/setup/eq_config.local"); + if(file_exists("setup/eq_config.local")) { + include("setup/eq_config.local"); } else { - include("$base_path/eq/setup/eq_config"); + include("setup/eq_config"); } $this->script_path = "$this->application_path"."/bin";