My Cockpit work on a sub domain and I use Cockpit API to get the information in the site. I want to change storage folder, for some security reason, on other sub domain and all uploads must going there.
I’ve create a defines.php file with
define("COCKPIT_STORAGE_FOLDER", "/home/sub_domain_name/root/assets");. The folder has 0755 rights.
After uploads defines.php in Cockpit root directory the system immediately return Error 500.
Is it possible to change the upload folder in another sub domain?
My site in based on CodeIgniter Web Framework if this has matter.
P.S. Excuse my self for my English…