| 1 |
<?php |
<?php |
| 2 |
// $Id: autoload.module,v 1.1.2.4 2009/03/17 21:54:58 crell Exp $ |
// $Id: autoload.module,v 1.1.2.5 2009/03/17 21:57:58 crell Exp $ |
| 3 |
/** |
/** |
| 4 |
* Implementation of hook_init(). |
* Implementation of hook_init(). |
| 5 |
*/ |
*/ |
| 73 |
return $lookup; |
return $lookup; |
| 74 |
} |
} |
| 75 |
} |
} |
| 76 |
|
|
| 77 |
|
/** |
| 78 |
|
* Implementation of hook_enable(). |
| 79 |
|
*/ |
| 80 |
|
function autoload_enable() { |
| 81 |
|
// Set our weight to a low value to ensure early loading |
| 82 |
|
db_query("UPDATE system SET weight = -100 WHERE name = 'autoload'"); |
| 83 |
|
} |