no function... die. if(!$monitord_ini = @parse_ini_file('./monitord_config.ini', true)) { die('monitord_config.ini not found, aborting.'); } // loading the main modules from directory $monitord_webfrontend_modules = array(); $exceptions = array(); $ext="/^.*\.module\.php$/i"; $files = array(); $handle = opendir('.'); while ($file = readdir ($handle)) { if (is_file($file) && preg_match($ext,$file)) { array_push($files, $file); } } closedir($handle); sort($files); // loading and instantiating our modules, saving exceptions in an array to be handled later on... foreach($files AS $val) { require_once($val); $val = strstr($val, '.', true); $classname = 'monitord_' . $val . '_manager'; try { $monitord_webfrontend_modules[$val] = new $classname(); } catch(exception $exception) { $exceptions[] = $exception; } } foreach($monitord_webfrontend_modules AS $val) { $val->send_http_headers($monitord_webfrontend_modules); } ?> monitord Web-Frontend
  monitord-Frontend Logo
0) { foreach($monitord_webfrontend_modules AS $val) { try { $is_called = $val->trigger_output_content($monitord_webfrontend_modules); $module_called = $module_called || $is_called; } catch(exception $exception) { $exceptions[] = $exception; } } } if(sizeof($exceptions) > 0) { foreach($exceptions AS $val) { monitord_static_functions::monitord_handle_exception($val, $show_exceptions); } } else { if(!$module_called) { echo '

Modul nicht verfügbar

'; echo 'Das Modul existiert nicht. Spielkalb. Nutze das Menü, wofür baue ich das ;)?!'; } } ?>
monitord Web-Frontend (c) Martin Diedrich (mdiedrich), 2009