aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2010-08-13 16:40:56 +0200
committerJoas Schilling <nickvergessen@gmx.de>2010-08-13 16:40:56 +0200
commit884cc2ac9b49ba88e448764b5e91cb99cf79df81 (patch)
treee3d55fc1ea0bd51f38205db55dbfa41518c869c0 /phpBB/includes
parent4c95ed0eeb497d3febe3169614e9385cefa648d2 (diff)
downloadforums-884cc2ac9b49ba88e448764b5e91cb99cf79df81.tar
forums-884cc2ac9b49ba88e448764b5e91cb99cf79df81.tar.gz
forums-884cc2ac9b49ba88e448764b5e91cb99cf79df81.tar.bz2
forums-884cc2ac9b49ba88e448764b5e91cb99cf79df81.tar.xz
forums-884cc2ac9b49ba88e448764b5e91cb99cf79df81.zip
[ticket/9519] Replace remaining is_writable() calls with phpbb_is_writable().
includes/functions_convert.php and install/install_convert.php tested by Dicky. PHPBB3-9519
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_convert.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php
index c035fd3739..9e26043b39 100644
--- a/phpBB/includes/functions_convert.php
+++ b/phpBB/includes/functions_convert.php
@@ -2306,7 +2306,7 @@ function copy_file($src, $trg, $overwrite = false, $die_on_failure = true, $sour
}
}
- if (!is_writable($path))
+ if (!phpbb_is_writable($path))
{
@chmod($path, 0777);
}
@@ -2341,7 +2341,7 @@ function copy_dir($src, $trg, $copy_subdirs = true, $overwrite = false, $die_on_
@chmod($trg_path, 0777);
}
- if (!@is_writable($trg_path))
+ if (!phpbb_is_writable($trg_path))
{
$bad_dirs[] = path($config['script_path']) . $trg;
}
@@ -2408,7 +2408,7 @@ function copy_dir($src, $trg, $copy_subdirs = true, $overwrite = false, $die_on_
@chmod($trg_path . $dir, 0777);
}
- if (!@is_writable($trg_path . $dir))
+ if (!phpbb_is_writable($trg_path . $dir))
{
$bad_dirs[] = $trg . $dir;
$bad_dirs[] = $trg_path . $dir;