Update storage.php

This commit is contained in:
Namhyeon Go 2018-09-03 10:30:46 +09:00 committed by GitHub
parent 6898571131
commit eb44a01513
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);