aboutsummaryrefslogtreecommitdiff
path: root/model/Conferences.php
diff options
context:
space:
mode:
authorMaZderMind2015-11-08 17:17:16 +0100
committerMaZderMind2015-11-08 17:17:16 +0100
commitaec65f8a241d3810d5e7a029f861bc6090b65cb9 (patch)
tree467409791060ef43b13d025384df3c1c733c41e3 /model/Conferences.php
parent0d91cc5f111fac882f1bb375c2bf426195c9cae2 (diff)
better exception-handling in mandator-code
Diffstat (limited to '')
-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']);
}
}