However, just comment out the module settings, replacing it with this code snippet:
$config['modules'] = array();
foreach (scandir(MODPATH) as $folder) {
if ($folder != '.' && $folder != '..') {
$config['modules'][] = MODPATH . $folder;
}
}
That'll load all your modules automatically. :)
Hashes: #kohana #php
No comments:
Post a Comment