Composers should not be loaded every time a new view is created.

This commit is contained in:
Taylor Otwell
2011-11-30 10:54:51 -06:00
parent 80063bbf47
commit 5b7a462131

View File

@@ -183,6 +183,8 @@ class View {
*/
protected static function composers()
{
if ( ! is_null(static::$composers)) return;
static::$composers = require APP_PATH.'composers'.EXT;
}