Move view composer loading back to application directory.
This commit is contained in:
@@ -61,7 +61,7 @@ class View {
|
||||
{
|
||||
if (is_null(static::$composers))
|
||||
{
|
||||
static::$composers = require VIEW_PATH.'composers'.EXT;
|
||||
static::$composers = require APP_PATH.'composers'.EXT;
|
||||
}
|
||||
|
||||
$instance = new static($view, $data);
|
||||
|
||||
Reference in New Issue
Block a user