Update storage.php
This commit is contained in:
parent
6898571131
commit
eb44a01513
|
@ -28,7 +28,7 @@ if(!function_exists("get_current_working_dir")) {
|
|||
case "windows":
|
||||
if(loadHelper("exectool")) {
|
||||
$exec_contents = implode("\r\n", array("@echo off", "SET var=%cd%", "ECHO %var%"));
|
||||
$exec_file = write_storage_file($file_contents, array(
|
||||
$exec_file = write_storage_file($exec_contents, array(
|
||||
"filename" => "pwd.bat"
|
||||
));
|
||||
$working_dir = exec_command($exec_file);
|
||||
|
|
Loading…
Reference in New Issue
Block a user