function file_aliases_init in File Aliases 6
Implements hook_init().
File
- ./
file_aliases.module, line 24 - Contains core functions for the File Aliases module.
Code
function file_aliases_init() {
foreach (module_list() as $module) {
if (file_exists($file = drupal_get_path('module', 'file_aliases') . '/modules/' . $module . '.inc')) {
require_once $file;
}
}
}