diff --git a/system/storage.php b/system/storage.php index ff9832c..73e5016 100644 --- a/system/storage.php +++ b/system/storage.php @@ -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);