cleanup
This commit is contained in:
@@ -240,8 +240,7 @@ if ($import_file != 'none' && !$error) {
|
|||||||
|
|
||||||
$tmp_subdir = (PMA_IS_WINDOWS ? '.\\tmp\\' : './tmp/');
|
$tmp_subdir = (PMA_IS_WINDOWS ? '.\\tmp\\' : './tmp/');
|
||||||
|
|
||||||
// function is_writeable() is valid on PHP3 and 4
|
if (is_writable($tmp_subdir)) {
|
||||||
if (is_writeable($tmp_subdir)) {
|
|
||||||
$import_file_new = $tmp_subdir . basename($import_file);
|
$import_file_new = $tmp_subdir . basename($import_file);
|
||||||
if (move_uploaded_file($import_file, $import_file_new)) {
|
if (move_uploaded_file($import_file, $import_file_new)) {
|
||||||
$import_file = $import_file_new;
|
$import_file = $import_file_new;
|
||||||
|
@@ -52,7 +52,7 @@ foreach ($types['mimetype'] as $key => $mimetype) {
|
|||||||
<?php
|
<?php
|
||||||
$odd_row = true;
|
$odd_row = true;
|
||||||
foreach ($types['transformation'] as $key => $transform) {
|
foreach ($types['transformation'] as $key => $transform) {
|
||||||
$func = strtolower(preg_replace('@(\.inc\.php3?)$@i', '', $types['transformation_file'][$key]));
|
$func = strtolower(str_ireplace('.inc.php', '', $types['transformation_file'][$key]));
|
||||||
$desc = 'strTransformation_' . $func;
|
$desc = 'strTransformation_' . $func;
|
||||||
?>
|
?>
|
||||||
<tr class="<?php echo $odd_row ? 'odd' : 'even'; ?>">
|
<tr class="<?php echo $odd_row ? 'odd' : 'even'; ?>">
|
||||||
|
Reference in New Issue
Block a user