Move view composer loading back to application directory.
This commit is contained in:
parent
57e6532723
commit
927c522e67
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user