function skinr_module_include in Skinr 6.2
Same name and namespace in other branches
- 6 skinr.module \skinr_module_include()
Load skinr files on behalf of modules.
1 call to skinr_module_include()
- skinr_init in ./
skinr.module - Implementation of hook_init().
File
- ./
skinr.module, line 387
Code
function skinr_module_include($file) {
foreach (skinr_get_module_apis() as $module => $info) {
if (file_exists("./{$info['path']}/{$module}.{$file}")) {
require_once "./{$info['path']}/{$module}.{$file}";
}
}
}