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=b3730dde2037d5e54e53b94646cc4d95fa1aab7a;hb=d0fe650e8a63864d8fd593aec3429abdec5eac95;hp=e8b0fa453058fea8954f6bdce2783b4ca5c0a44e;hpb=ff9fe56b29ea1d02844bc54d8a9864c120ff5c17;p=eq%2F.git diff --git a/inc/class.eq.inc.php b/inc/class.eq.inc.php index e8b0fa4..b3730dd 100644 --- a/inc/class.eq.inc.php +++ b/inc/class.eq.inc.php @@ -68,12 +68,13 @@ class eq function eq() { - if(file_exists('setup/eq_config.local')) { - include('setup/eq_config.local'); + $base_path = $_SERVER['DOCUMENT_ROOT']; + if(file_exists("$base_path/eq/setup/eq_config.local")) { + include("$base_path/eq/setup/eq_config.local"); } else { - include('setup/eq_config'); + include("$base_path/eq/setup/eq_config"); } - + $this->script_path = "$this->application_path"."/bin"; $this->max_presidency_members = 99; $this->max_appointments = 32768;