这个.env文件里面定义的status = test或者dev;当config.php文件里面返回的是一个将status对应的 .evn里面status = dev或者test的值,同时在index模块下的index控制器下的index方法打印全局的配置,里面就会显示我们往全局配置里面添加的'app_status’和 'app_now_status' 和系统自带的配置,这里面的'app_now_status'就是.env文件里面定义的status = test或者dev;一定要等于文件名不然没有app_now_status
2017-05-21
最新回答 / Z269
array (size=35) 'ALLUSERSPROFILE' => string 'C:\ProgramData' (length=14) 'APPDATA' => string 'C:\Windows\system32\config\systemprofile\AppData\Roaming' (length=56) 'CommonProgramFiles' => string 'C:\Program Files\Common Files' (length=29) 'Co...
2017-05-21
已采纳回答 / vLiang
https://jingyan.baidu.com/article/dca1fa6f8d623ff1a44052e8.html http://niutuku.com/tech/php/273616.shtml 试试看这2个
2017-05-19
<head>
<meta charset="utf-8">
<title>视图</title>
<link rel="stylesheet" href="./front/css/style.css">
</head>
<meta charset="utf-8">
<title>视图</title>
<link rel="stylesheet" href="./front/css/style.css">
</head>
2017-05-18