Fix the temp directory path.

This commit is contained in:
Mark Crane 2012-06-24 06:20:25 +00:00
parent 913fa66047
commit 8725cf9a80
1 changed files with 1 additions and 1 deletions

View File

@ -1555,7 +1555,7 @@ function save_setting_xml() {
$xml .= "\n";
$xml .= "//set system dir variables\n";
$xml .= " \$switch_storage_dir = \"".$_SESSION['switch']['storage']['dir']."\";\n";
$xml .= " \$tmp_dir = \"".$tmp_dir."\";\n";
$xml .= " \$tmp_dir = \"".$_SESSION['server']['temp']['dir']."\";\n";
$xml .= " \$v_secure = \"".$_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/secure"."\";\n";
$xml .= "\n";
$xml .= "?>";