2.0 modular refactoring.

This commit is contained in:
Taylor Otwell
2011-08-18 23:23:57 -05:00
parent 4569ebec46
commit d9f2ba84c9
18 changed files with 180 additions and 73 deletions

View File

@@ -43,9 +43,10 @@ class Module {
{
if (array_key_exists($module, static::$paths)) return static::$paths[$module];
if (array_key_exists($module, static::$modules)) $path = MODULE_PATH.static::$modules[$module].'/';
return static::$paths[$module] = $path;
if (array_key_exists($module, static::$modules))
{
return static::$paths[$module] = MODULE_PATH.static::$modules[$module].'/';
}
}
/**