Skip to content
This repository has been archived by the owner on Jan 4, 2020. It is now read-only.

环境变量配置文件( .env ) #512

Open
dagang007 opened this issue Dec 12, 2017 · 0 comments
Open

环境变量配置文件( .env ) #512

dagang007 opened this issue Dec 12, 2017 · 0 comments

Comments

@dagang007
Copy link

在base.php中,ROOT_PATH被定义为“路径/”,这种格式怎么能连接 .env 呢?我很困惑

22行,41行:
defined('ROOT_PATH') or define('ROOT_PATH', dirname(realpath(APP_PATH)) . DS);
if (is_file(ROOT_PATH . '.env')) {

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant