From e3785ee7ff9a85132fc7595b6c1cca24144b4035 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 8 Aug 2011 14:28:38 -0500 Subject: [PATCH] Refactor the package class. --- system/package.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/system/package.php b/system/package.php index 9b8721bf..e9586f2c 100644 --- a/system/package.php +++ b/system/package.php @@ -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; } }