We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 32 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public function register() |
||
| 22 | { |
||
| 23 | /* |
||
| 24 | * Load the dashboard/admin blade files for views creation. |
||
| 25 | */ |
||
| 26 | $this->loadViewsFrom(resource_path('admin/views'), 'dashboard'); |
||
| 27 | |||
| 28 | /* |
||
| 29 | * Load the websites frontend blade files for views creation. |
||
| 30 | */ |
||
| 31 | $this->loadViewsFrom(resource_path('views'), 'website'); |
||
| 32 | |||
| 33 | /* |
||
| 34 | * Load the module view blade files dynamically. |
||
| 35 | */ |
||
| 36 | $this->loadViewsFrom(base_path('app/Modules'), 'modules'); |
||
| 37 | |||
| 38 | /* |
||
| 39 | * Load the plugins view blade files dynamically. |
||
| 40 | */ |
||
| 41 | $this->loadViewsFrom(base_path('app/Plugins'), 'plugins'); |
||
| 42 | |||
| 43 | /* |
||
| 44 | * 16/03/2018. |
||
| 45 | * Templates for frontend view short codes. |
||
| 46 | */ |
||
| 47 | $this->loadViewsFrom(resource_path('templates'), 'webpage'); |
||
| 48 | |||
| 49 | /* |
||
| 50 | * Errors can be overwritten by the front end website, default to dashboard errors. |
||
| 51 | */ |
||
| 52 | $this->loadViewsFrom([resource_path('views/errors'), resource_path('admin/views/errors')], 'errors'); |
||
|
|
|||
| 53 | } |
||
| 55 |