summaryrefslogtreecommitdiffstats
path: root/system/libraries/Output.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-01-28 18:11:02 +0100
committerDerek Jones <derek.jones@ellislab.com>2008-01-28 18:11:02 +0100
commita25530f6594c7ba45b3faa9537fda9f807069759 (patch)
treedc47713436c3777dcb9eb22f2f08cee4186400f5 /system/libraries/Output.php
parent15130caa8d3f4650d383647050ce918de728bc53 (diff)
added is_really_writable() to Common.php, replaced is_writable() throughout application with is_really_writable()
Diffstat (limited to 'system/libraries/Output.php')
-rw-r--r--system/libraries/Output.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Output.php b/system/libraries/Output.php
index f98dab5e0..a4d8d34b8 100644
--- a/system/libraries/Output.php
+++ b/system/libraries/Output.php
@@ -285,7 +285,7 @@ class CI_Output {
$cache_path = ($path == '') ? BASEPATH.'cache/' : $path;
- if ( ! is_dir($cache_path) OR ! is_writable($cache_path))
+ if ( ! is_dir($cache_path) OR ! is_really_writable($cache_path))
{
return;
}
@@ -327,7 +327,7 @@ class CI_Output {
$cache_path = ($CFG->item('cache_path') == '') ? BASEPATH.'cache/' : $CFG->item('cache_path');
- if ( ! is_dir($cache_path) OR ! is_writable($cache_path))
+ if ( ! is_dir($cache_path) OR ! is_really_writable($cache_path))
{
return FALSE;
}