Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (14 sloc) 0.383 kb
<?php
include_once('bootstrap.php');
// Enable all modules we can find
$modules_iterator = new DirectoryIterator(MODPATH);
$modules = array();
foreach ($modules_iterator as $module)
{
if ($module->isDir())
{
$modules[$module->getFilename()] = MODPATH.$module->getFilename();
}
}
Kohana::modules(Kohana::modules() + $modules);
unset ($modules_iterator, $modules, $module);
Jump to Line
Something went wrong with that request. Please try again.