if (file_exists(dirname($modulePath) . "/Event.php")) { include_once dirname($modulePath) . "/Event.php"; } } } $include_flux = trim(ob_get_contents()); ob_end_clean(); // Liste des module php preconisé $loadedExtension = \Core\Server::extensions(); foreach (array("mcrypt", "mbstring", "zlib") as $mod) { if (!in_array(strtolower($mod), $loadedExtension)) { \Core\FirePHP::fbLog("warn", "Warning : module " . strtoupper($mod) . " is not installed"); } } // Set php config \Core\Config::ApplyIni(); $_REQUEST = \Core\Request::create($_REQUEST); // Renvoie dans fb les eventuels flux des includes if ($include_flux !== "") { // info, warn, error, dump, trace, table \Core\FirePHP::fbLog("warn", $include_flux); \Core\Event::fire("Page_FluxNotNull", $_REQUEST, $include_flux); } // Default service et request // Par défault la page d'accueil se trouve dans services/_default.php, function Main() $s = "_default"; $r = "main"; // Get security defaultService $confSecurity = \Core\Config::get("security"); if (!empty($confSecurity) && isset($confSecurity["defaultService"]) && !empty($confSecurity["defaultService"])) { $defaultService = $confSecurity["defaultService"];