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:
@@ -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));
|
||||
|
||||
@@ -247,12 +247,16 @@ if (!defined('ALLOW_PAGE_REFRESH')) define ('ALLOW_PAGE_REFRESH',true);
|
||||
*/
|
||||
if (!defined('ALLOW_RESPONDENT_SELECTOR')) define ('ALLOW_RESPONDENT_SELECTOR',true);
|
||||
|
||||
|
||||
/**
|
||||
* Number of log records to display
|
||||
*/
|
||||
if (!defined('PROCESS_LOG_LIMIT')) define('PROCESS_LOG_LIMIT', 500);
|
||||
|
||||
/**
|
||||
* Temporary upload directory
|
||||
*/
|
||||
if (!defined('TEMPORARY_DIRECTORY')) define('TEMPORARY_DIRECTORY', "/tmp");
|
||||
|
||||
/**
|
||||
* Database configuration for queXS
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user