diff options
author | Michal Čihař <mcihar@suse.cz> | 2012-04-24 16:06:15 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2012-04-24 16:06:15 +0400 |
commit | 317b365baa87fcbc36223309b377a46f37696e0f (patch) | |
tree | 315a47e95a640facd67222b4961a96a460596bd0 /file_echo.php | |
parent | b3a7232c86af323037ef0271f8be60fad6d6c341 (diff) |
Various coding style improvements
Diffstat (limited to 'file_echo.php')
-rw-r--r-- | file_echo.php | 4 |
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']); } ?> |