/** * Returns the list of extensions to load * 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; }