isClosed(); unset($GLOBALS['CONFIG']); if(isset($saved_config)) $GLOBALS['CONFIG'] = $saved_config; return $active; } public static function hasCustomStyles($mandator) { return file_exists(Conferences::getCustomStyles($mandator)); } public static function getCustomStyles($mandator) { return forceslash(Conferences::getCustomStylesDir($mandator)).'main.less'; } public static function getCustomStylesDir($mandator) { return forceslash(Conferences::MANDATOR_DIR).forceslash($mandator); } public static function load($mandator) { $GLOBALS['MANDATOR'] = $mandator; include(forceslash(Conferences::MANDATOR_DIR).forceslash($mandator).'config.php'); } }