fixed bug in view class module loading and made loader properties public.

This commit is contained in:
Taylor Otwell
2011-08-03 23:36:39 -05:00
parent 78903e99a8
commit ec3e059836
2 changed files with 4 additions and 4 deletions

View File

@@ -108,7 +108,7 @@ class View {
*/
private function compose()
{
if (is_null(static::$composers[$this->module]))
if ( ! isset(static::$composers[$this->module]))
{
static::$composers[$this->module] = (file_exists($path = $this->path.'composers'.EXT)) ? require $path : array();
}