summaryrefslogtreecommitdiffstats
path: root/system/libraries/Output.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/Output.php')
-rw-r--r--system/libraries/Output.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Output.php b/system/libraries/Output.php
index 4423ac726..0cf6739bd 100644
--- a/system/libraries/Output.php
+++ b/system/libraries/Output.php
@@ -331,7 +331,7 @@ class CI_Output {
return;
}
fclose($fp);
- @chmod($cache_path, DIR_WRITE_MODE);
+ @chmod($cache_path, FILE_WRITE_MODE);
log_message('debug', "Cache file written: ".$cache_path);
}