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ř <michal@cihar.com>2016-02-12 15:24:39 +0300
committerMichal Čihař <michal@cihar.com>2016-02-12 15:45:04 +0300
commit53b1f9adcc5882838161d3aa6289d93385053fbe (patch)
tree400a732f6c275ca98531aeb8f8b221a76db0edc1 /prefs_manage.php
parente50a445d17525a8f04e57241a58f3517d1abaa86 (diff)
Silent errors on checking for files and folders
Fixes #11951 Fixes #11952 Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'prefs_manage.php')
-rw-r--r--prefs_manage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/prefs_manage.php b/prefs_manage.php
index a6b2bcdd9b..de1d0341e7 100644
--- a/prefs_manage.php
+++ b/prefs_manage.php
@@ -58,7 +58,7 @@ if (isset($_POST['submit_export'])
// directory
if (!empty($open_basedir)) {
$tmp_subdir = (PMA_IS_WINDOWS ? '.\\tmp\\' : 'tmp/');
- if (is_writable($tmp_subdir)) {
+ if (@is_writable($tmp_subdir)) {
$import_file_new = tempnam($tmp_subdir, 'prefs');
if (move_uploaded_file($import_file, $import_file_new)) {
$import_file = $import_file_new;