* This list does not include the ones disabled. */ static function getList() { self::init(); self::$exts = self::getExtensions(); $liste = array(); if (!empty(self::$exts)) { foreach (self::$exts as $ext => &$e) { if (!$e['disabled']) { $liste[$ext] = $e['file']; } } } return $liste; } } // ================================================================ // This procedure loads the extensions in the global scope. // ================================================================ $extListe = ExtensionLoader::getList(); if (!empty($extListe)) { foreach ($extListe as $extName => $extFileName) { $status = (include $extFileName); // help flush uninstalled extensions in a somewhat nice way. if (false === $status) { ExtensionLoader::flushCache(); } } } //</source>