aboutsummaryrefslogtreecommitdiff
path: root/model/Conferences.php
diff options
context:
space:
mode:
Diffstat (limited to 'model/Conferences.php')
-rw-r--r--model/Conferences.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/model/Conferences.php b/model/Conferences.php
index 10a3172..885c2c8 100644
--- a/model/Conferences.php
+++ b/model/Conferences.php
@@ -69,7 +69,7 @@ class Conferences extends ModelBase
}
public static function load($mandator) {
- $GLOBALS['MANDATOR'] = $mandator;
- require(forceslash(Conferences::MANDATOR_DIR).forceslash($mandator).'config.php');
+ include(forceslash(Conferences::MANDATOR_DIR).forceslash($mandator).'config.php');
+ return isset($GLOBALS['CONFIG']);
}
}