Skip to content

Commit

Permalink
Changed default engine of view config. (#2851)
Browse files Browse the repository at this point in the history
* Fixed typo.

* Update default config of view.

* Update CHANGELOG-2.0.md
  • Loading branch information
limingxinleo authored Nov 23, 2020
1 parent 5319e30 commit f6d5423
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions publish/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
use Hyperf\View\Engine\BladeEngine;
use Hyperf\View\Mode;
use Hyperf\ViewEngine\HyperfViewEngine;

return [
'engine' => BladeEngine::class,
'mode' => Mode::TASK,
'engine' => HyperfViewEngine::class,
'mode' => Mode::SYNC,
'config' => [
'view_path' => BASE_PATH . '/storage/view/',
'cache_path' => BASE_PATH . '/runtime/view/',
Expand Down

0 comments on commit f6d5423

Please sign in to comment.