Explorar el Código

DS无法获取问题修复

evoxwht hace 2 años
padre
commit
f77e1dc4d2
Se han modificado 1 ficheros con 1 adiciones y 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', ''),