webui fix

This commit is contained in:
SJ 2012-12-17 15:38:16 +01:00
parent cbe21312d2
commit d77579e761

View File

@ -9,7 +9,7 @@ class ModelMessageRestore extends Model {
$randomid = generate_random_string(16); $randomid = generate_random_string(16);
$filename = DIR_TMP . "/" . $randomid; $filename = DIR_BASE . "tmp/" . $randomid;
if($zip->open($filename, ZIPARCHIVE::CREATE) != true) { exit("cannot open <$filename>\n"); } if($zip->open($filename, ZIPARCHIVE::CREATE) != true) { exit("cannot open <$filename>\n"); }