summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-07 13:53:39 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-07 13:53:39 +0100
commit03077f9ab1408d28b5b9783355d1629eda3ff5ae (patch)
treeb23a13c799a788d8b01fac0632961ef4f9d7929c /system
parent0c0a88cafcdce2cb9c9b02f988ab1aae59a43729 (diff)
Use is_really_writable() in get_file_info()
Diffstat (limited to 'system')
-rw-r--r--system/helpers/file_helper.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php
index 0587740b1..ae3db5846 100644
--- a/system/helpers/file_helper.php
+++ b/system/helpers/file_helper.php
@@ -298,8 +298,7 @@ if ( ! function_exists('get_file_info'))
$fileinfo['readable'] = is_readable($file);
break;
case 'writable':
- // There are known problems using is_weritable on IIS. It may not be reliable - consider fileperms()
- $fileinfo['writable'] = is_writable($file);
+ $fileinfo['writable'] = is_really_writable($file);
break;
case 'executable':
$fileinfo['executable'] = is_executable($file);