fixed bug in view class module loading and made loader properties public.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user