X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=inc%2Fclass.eq.inc.php;fp=inc%2Fclass.eq.inc.php;h=a5cc2b4df67691b13f929f8b6fb99894078d34d4;hb=c98a532f9ec4c806eda3e0a91ebbf7da6886102e;hp=b3730dde2037d5e54e53b94646cc4d95fa1aab7a;hpb=d0fe650e8a63864d8fd593aec3429abdec5eac95;p=eq%2F.git 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";