Commit e3785ee7 authored by Taylor Otwell's avatar Taylor Otwell

Refactor the package class.

parent ddc02a82
......@@ -19,9 +19,12 @@ class Package {
{
foreach ((array) $packages as $package)
{
if (file_exists($bootstrap = PACKAGE_PATH.$package.'/bootstrap'.EXT)) require_once $bootstrap;
if (file_exists($bootstrap = PACKAGE_PATH.$package.'/bootstrap'.EXT))
{
require_once $bootstrap;
}
static::$loaded[] = $package;
static::$loaded[] = $package;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment