You are here

function autoload_enable in Autoload 6.2

Same name and namespace in other branches
  1. 6 autoload.install \autoload_enable()

Implements hook_enable().

File

./autoload.install, line 82

Code

function autoload_enable() {
  db_query("UPDATE {system} SET weight = -100 WHERE name = 'autoload' AND type = 'module'");
  spl_autoload_register('autoload_class');
  spl_autoload_register('autoload_interface');
}