Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b17039c737
Fetching contributors…

Cannot retrieve contributors at this time

executable file 23 lines (19 sloc) 0.337 kb
<?php
class IncludeFiles extends ArrayIterator
{
function __construct($path, $classes)
{
parent::__construct();
foreach($classes as $c)
{
$this->append($path . '/' . strtolower($c) . '.inc');
}
}
}
$classes = array(
);
foreach (new IncludeFiles(dirname(__FILE__). '/..', $classes) as $file)
{
require_once($file);
}
?>
Jump to Line
Something went wrong with that request. Please try again.