/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function gar_v2_default_page_manager_handlers(){ $files = drupal_system_listing('.inc$', $path, 'name', 0); foreach ($files as $file) { include ($file->filename); $handlers[$handler->name] = $handler; } } return $handlers; }