This commit is contained in:
Sebastian Mendel
2007-10-17 14:14:59 +00:00
parent 3a81ff4b37
commit 4f685307b4
2 changed files with 2 additions and 3 deletions

View File

@@ -240,8 +240,7 @@ if ($import_file != 'none' && !$error) {
$tmp_subdir = (PMA_IS_WINDOWS ? '.\\tmp\\' : './tmp/');
// function is_writeable() is valid on PHP3 and 4
if (is_writeable($tmp_subdir)) {
if (is_writable($tmp_subdir)) {
$import_file_new = $tmp_subdir . basename($import_file);
if (move_uploaded_file($import_file, $import_file_new)) {
$import_file = $import_file_new;