projects
/
eq
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed include syntax to be a full path instead of a relative path.
[eq/.git]
/
inc
/
class.eq.inc.php
diff --git
a/inc/class.eq.inc.php
b/inc/class.eq.inc.php
index e8b0fa453058fea8954f6bdce2783b4ca5c0a44e..b3730dde2037d5e54e53b94646cc4d95fa1aab7a 100644
(file)
--- a/
inc/class.eq.inc.php
+++ b/
inc/class.eq.inc.php
@@
-68,12
+68,13
@@
class eq
function 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 {
} 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;
$this->script_path = "$this->application_path"."/bin";
$this->max_presidency_members = 99;
$this->max_appointments = 32768;