Skip to content

Commit

Permalink
修正配置一处读取问题
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Aug 9, 2018
1 parent 807aea7 commit 35e9878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/think/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public function init($module = '')

// 自动读取配置文件
if (is_dir($path . 'config')) {
$dir = $path . 'config';
$dir = $path . 'config'.DIRECTORY_SEPARATOR;
} elseif (is_dir($this->configPath . $module)) {
$dir = $this->configPath . $module;
}
Expand Down

0 comments on commit 35e9878

Please # to comment.