修复配置文件中__PUBLIC__为空时,报错页面返回主页按钮无效的问题

pull/204/head
simon429 2020-05-30 22:45:23 +08:00
parent d3a1c3978e
commit e4aa8377fd
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<?php
$cdnurl = function_exists('config') ? config('view_replace_str.__CDN__') : '';
$publicurl = function_exists('config') ? config('view_replace_str.__PUBLIC__') : '/';
$publicurl = function_exists('config') && config('view_replace_str.__PUBLIC__') ? config('view_replace_str.__PUBLIC__') : '/';
$debug = function_exists('config') ? config('app_debug') : false;
$lang = [