Welcome Guest, Not a member yet? Register   Sign In
Relocating the app folder
#1

(This post was last modified: 06-16-2022, 07:24 AM by groovebird.)

Hi,

if i relocate the app folder the ROOTPATH will not be created correctly, because it is one folder above the app folder. This is not working if i relocate the app folder:

Root -> app -> this is working

Relocating the app folder:
Root -> codeigniter->app -> this is not working, because the ROOTPATH is codeigniter. This is not correct.

PHP Code:
// The path to the project root directory. Just above APPPATH.
if (! defined('ROOTPATH')) {
    define('ROOTPATH'realpath(APPPATH '../') . DIRECTORY_SEPARATOR);


I think relocating is not possible or is there any solution?
Reply


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



Theme © iAndrew 2016 - Forum software by © MyBB