Welcome Guest, Not a member yet? Register   Sign In
Multi applications with same app folder but different configurations
#5

(This post was last modified: 11-21-2024, 02:39 PM by sevmusic.)

I am looking to do the same.

I had this working in a previous version of CI4.. but now I can't get it to work.


I have change my /app directory to /app-dev

I am getting this error:

Warning: include(/home/vendor/composer/../../app/Config/Optimize.php): Failed to open stream: No such file or directory in /home/vendor/composer/ClassLoader.php on line 576

Notice the 'app' in the error.

This is in both my public/index.php and spark file

PHP Code:
require FCPATH '../app-dev/Config/Paths.php'


I also have this in my app-dev/Config/Paths.php file

PHP Code:
public string $appDirectory '/home/app-dev'


I have looked all over for any other reference to 'app' and I found one in my composer.json, changing that did nothing.

Any ideas?

Thanks!
Reply


Messages In This Thread
RE: Multi applications with same app folder but different configurations - by sevmusic - 11-21-2024, 02:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB