Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2012-04-24 16:06:15 +0400
committerMichal Čihař <mcihar@suse.cz>2012-04-24 16:06:15 +0400
commit317b365baa87fcbc36223309b377a46f37696e0f (patch)
tree315a47e95a640facd67222b4961a96a460596bd0 /file_echo.php
parentb3a7232c86af323037ef0271f8be60fad6d6c341 (diff)
Various coding style improvements
Diffstat (limited to 'file_echo.php')
-rw-r--r--file_echo.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/file_echo.php b/file_echo.php
index d3f7f4a6e2..47e8dbe312 100644
--- a/file_echo.php
+++ b/file_echo.php
@@ -62,7 +62,9 @@ if (isset($_REQUEST['filename']) && isset($_REQUEST['image'])) {
/* For monitor chart config import */
} else if (isset($_REQUEST['import'])) {
header('Content-type: text/plain');
- if(!file_exists($_FILES['file']['tmp_name'])) exit();
+ if (!file_exists($_FILES['file']['tmp_name'])) {
+ exit();
+ }
echo file_get_contents($_FILES['file']['tmp_name']);
}
?>