mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-21 15:45:36 +08:00
fix some DataProvider bug.
This commit is contained in:
@@ -54,7 +54,7 @@ function testEnvironment() {
|
||||
if (!is_file($current_dir . '/config/global.php')) {
|
||||
echo "Exporting default global config...\n";
|
||||
$global = file_get_contents(__DIR__ . '/config/global.php');
|
||||
$global = str_replace("WORKING_DIR", 'realpath("../")', $global);
|
||||
$global = str_replace("WORKING_DIR", 'realpath(__DIR__ . "/../")', $global);
|
||||
file_put_contents($current_dir . '/config/global.php', $global);
|
||||
}
|
||||
if (!is_file($current_dir . '/config/file_header.json')) {
|
||||
|
||||
Reference in New Issue
Block a user