Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
How do i make a several app instances using the same fuel and packages files
  • 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

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!