Relocating the app folder |
(06-16-2022, 11:00 PM)kenjis Wrote: Why? This directory is from an older installation. I had an application folder in it and now i want to keep the folder structure. Yes i could change it, but this is not the topic :-) Lets say my project root is a folder named my_project_root. Why is the ROOTPATH not correct? My app folder is in my_project_root/codeigniter/app and if i echo out the ROOTPATH variable i get my_project_root/codeigniter because of this code: PHP Code: define('ROOTPATH', realpath(APPPATH . '../') . DIRECTORY_SEPARATOR); The root is one level above from the APPPATH. In my case the root is 2 levels above the APPPATH The ROOTPATH should be my_project_root. In this folder i have my .env file and not in my_project_root/codeigniter. The ROOTPATH depends on the APPPATH and i suggest this is the reason i cant relocate the folder |
Messages In This Thread |
Relocating the app folder - by groovebird - 06-16-2022, 07:24 AM
RE: Relocating the app folder - by kilishan - 06-16-2022, 11:29 AM
RE: Relocating the app folder - by kenjis - 06-16-2022, 11:00 PM
RE: Relocating the app folder - by groovebird - 06-17-2022, 02:32 AM
RE: Relocating the app folder - by kenjis - 06-17-2022, 02:45 AM
RE: Relocating the app folder - by groovebird - 06-17-2022, 03:03 AM
RE: Relocating the app folder - by kenjis - 06-17-2022, 03:43 AM
|