Explorar o código

DS无法获取问题修复

evoxwht %!s(int64=2) %!d(string=hai) anos
pai
achega
f77e1dc4d2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      crmeb/config/app.php

+ 1 - 1
crmeb/config/app.php

@@ -14,7 +14,7 @@
 // +----------------------------------------------------------------------
 
 use think\facade\Env;
-
+defined('DS') || define('DS', DIRECTORY_SEPARATOR);
 return [
     // 应用地址
     'app_host'         => Env::get('app.host', ''),