Welcome Guest, Not a member yet? Register   Sign In
Comparing $indexPage in IncomingRequest for multi-app setup
#2

Could you create two folders in /public instead?

Code:
- /public/app
  - index.php
  - .htaccess
- /public/app2
  - index.php
  - .htaccess

In each index.php, you would change the line for the app/Config/Paths.php file.

Code:
require realpath(FCPATH . '../apps/app1/Config/Paths.php') ?: FCPATH . '../apps/app1/Config/Paths.php';

Code:
require realpath(FCPATH . '../apps/app2/Config/Paths.php') ?: FCPATH . '../apps/app2/Config/Paths.php';
Reply


Messages In This Thread
RE: Comparing $indexPage in IncomingRequest for multi-app setup - by craig - 01-26-2021, 01:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB