mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-01-18 13:54:01 +08:00
Change view extension from .tpl to .blade.php
This commit is contained in:
parent
6b4812b251
commit
32104da31f
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -1,2 +0,0 @@
|
||||
* text=auto
|
||||
*.tpl linguist-language=php
|
@ -63,6 +63,8 @@ class AppServiceProvider extends ServiceProvider
|
||||
|
||||
// Support *.tpl extension name
|
||||
View::addExtension('tpl', 'blade');
|
||||
// Make the priority of *.blade.php higher than *.tpl
|
||||
View::addExtension('blade.php', 'blade');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user