2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

added config directive TEMPORARY_DIRECTORY

This commit is contained in:
azammitdcarf
2011-03-02 00:28:46 +00:00
parent e9997305fc
commit 57879e7a4e
2 changed files with 6 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ else if (isset($_POST['import_file']))
<form action="" method="post">
<?
$tmpfname = tempnam("/tmp", "FOO");
$tmpfname = tempnam(TEMPORARY_DIRECTORY, "FOO");
move_uploaded_file($_FILES['file']['tmp_name'],$tmpfname);
display_table(get_first_row($tmpfname));