Welcome Guest, Not a member yet? Register   Sign In
Customizing CodeIgniter cache folder location?
#1

(This post was last modified: 10-29-2023, 10:55 PM by LarayaTaryar.)

I have identified a file, "Cache.php," within the app/config directory that enables the configuration of the cache folder for the CodeIgniter 4 framework. Given the substantial number of pages, the Linux directory is already inundated with numerous files.

I aim to designate the $storePath variable to a specific folder. Is there a method to achieve this?

For example, when I employ the cache for controller "A" ($this->cachePage(1000)), I wish to concurrently specify the folder for this particular controller.

I would greatly appreciate any assistance with this matter. Thank you in advance.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB