I tried to make fuel core and packages to work from 2 diffrent app folders on a seperate apps, tried to do it by copying the index.php in the public folder and name it as cms.php then inside fuel folder i made a new folder called apps and moved the app folder inside cloning it and renaming it to cms, inside the index.php and cms.php i updated this line:
on index.php:
- define('APPPATH', realpath(__DIR__.'/../fuel/apps/app/').DIRECTORY_SEPARATOR);
on cms.php
- define('APPPATH', realpath(__DIR__.'/../fuel/apps/cms/').DIRECTORY_SEPARATOR);
the index.php worked fine but the cms.php returns a 404 page, why?
[Solved]
I have found the problem which was that I had to change the 'index_file' => 'cms.php', from 'index_file' => 'index.php', in the config file of the apps/cms folder