24 lines
592 B
PHP
24 lines
592 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Providers;
|
||
|
|
|
||
|
|
use Illuminate\Support\Facades\Route;
|
||
|
|
use Illuminate\Support\Facades\View;
|
||
|
|
use Illuminate\Support\ServiceProvider;
|
||
|
|
|
||
|
|
class ViewServiceProvider extends ServiceProvider
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* Bootstrap any application services.
|
||
|
|
*
|
||
|
|
* @return void
|
||
|
|
*/
|
||
|
|
public function boot()
|
||
|
|
{
|
||
|
|
$this->loadMigrationsFrom(__DIR__ . '/../../migrations');
|
||
|
|
$this->loadViewsFrom(__DIR__ . '/../../resources/views', 'Views');
|
||
|
|
$prefix = "http://localhost/sysworkflowviena/en/neoclassic/cases/viena";
|
||
|
|
View::share('rootPath', $prefix);
|
||
|
|
}
|
||
|
|
}
|