summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/helpers/file_helper.rst
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-07 13:57:04 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-07 13:57:04 +0200
commit0f0b76980cb07f39b20c8591882aeae3854f016c (patch)
tree28ee4a2375e1d2b7fe28f5826015686ace374981 /user_guide_src/source/helpers/file_helper.rst
parentc839d28f4230dce0c658338f267b821cc16490a2 (diff)
Deprecated do_hash() and read_file() in favor of hash() and file_get_contents() respectively
Diffstat (limited to 'user_guide_src/source/helpers/file_helper.rst')
-rw-r--r--user_guide_src/source/helpers/file_helper.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/user_guide_src/source/helpers/file_helper.rst b/user_guide_src/source/helpers/file_helper.rst
index bfc271eb3..60c5aa98c 100644
--- a/user_guide_src/source/helpers/file_helper.rst
+++ b/user_guide_src/source/helpers/file_helper.rst
@@ -32,6 +32,9 @@ The path can be a relative or full server path. Returns FALSE (boolean) on failu
controller or view files. CodeIgniter uses a front controller so paths
are always relative to the main site index.
+.. note:: This function is DEPRECATED. Use the native ``file_get_contents()``
+ instead.
+
If your server is running an `open_basedir` restriction this function might not work if you are trying to access a file above the calling script.
write_file('path', $data)