You are here

function xautoload_BootSchedule_Default::initBootstrapPhase in X Autoload 7.3

Init the phase where the database is available, and register the namespaces and prefixes for all modules.

Overrides xautoload_BootSchedule_Interface::initBootstrapPhase

File

lib/BootSchedule/Default.php, line 27

Class

xautoload_BootSchedule_Default

Code

function initBootstrapPhase() {

  // Doing this directly tends to be a lot faster than system_list().
  $extensions = db_query("SELECT name, filename, type from {system} WHERE status = 1")
    ->fetchAll();
  $this->helper
    ->registerExtensions($extensions);
}