CodeIgniter Forums

Full Version: I don't find the read_file function in the file system helper
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, J.P.
Why CI4 doesn't provide a funtion to read files in file_system_helper?
It's basically just file_get_contents().

CI 3 docs marked it as deprecated already, so in 4 it's gone. Much too close to the native command(s) to be necessary.
(10-14-2018, 08:23 PM)kilishan Wrote: [ -> ]It's basically just file_get_contents().

CI 3 docs marked it as deprecated already, so in 4 it's gone. Much too close to the native command(s) to be necessary.
Thanks for your explanation.