Drop support of .tpl
This commit is contained in:
parent
0bca03284c
commit
fade13cdab
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
namespace App\Providers;
|
namespace App\Providers;
|
||||||
|
|
||||||
use View;
|
|
||||||
use Blade;
|
use Blade;
|
||||||
use Event;
|
use Event;
|
||||||
use App\Events;
|
use App\Events;
|
||||||
|
|
@ -57,12 +56,6 @@ class AppServiceProvider extends ServiceProvider
|
||||||
$this->app->singleton('cipher', 'App\Services\Cipher\\'.config('secure.cipher'));
|
$this->app->singleton('cipher', 'App\Services\Cipher\\'.config('secure.cipher'));
|
||||||
$this->app->singleton('users', \App\Services\Repositories\UserRepository::class);
|
$this->app->singleton('users', \App\Services\Repositories\UserRepository::class);
|
||||||
$this->app->singleton('options', OptionRepository::class);
|
$this->app->singleton('options', OptionRepository::class);
|
||||||
|
|
||||||
// Support *.tpl extension name
|
|
||||||
View::addExtension('tpl', 'blade');
|
|
||||||
// Make the priority of *.blade.php higher than *.tpl
|
|
||||||
View::addExtension('blade.php', 'blade');
|
|
||||||
|
|
||||||
$this->app->singleton('parsedown', \Parsedown::class);
|
$this->app->singleton('parsedown', \Parsedown::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user