Closed SolStis86 closed 6 years ago
This will break the view search paths. In the end, view path auto-detection will not work:
Example for theme 'admin':
array:3 [▼
0 => "C:\wamp64\www\app\resources\views"
1 => "C:\wamp64\www\app\resources\views"
2 => "C:\wamp64\www\app\resources\views"
]
Instead of
array:2 [▼
0 => "C:\wamp64\www\app\resources\themes/admin"
1 => "C:\wamp64\www\app\resources\views"
]
Be careful.
Exactly,
also the order of the paths is important, default laravel paths should be pushed in the end so that theme paths will take precedence
Replaced FileViewFinder::setPaths with new logic for updated method addLocation