Welcome Guest, Not a member yet? Register   Sign In
How to organize applications ?
#8

(This post was last modified: 04-24-2020, 09:53 AM by 68thorby68.)

Thank you for this thread. I have installed CI4 today with the intention to migrate my sprawling php project scripts.

My project is split into 2 distinct parts.
Public Pages
Admin Area

Given the above explanation it is my intention to do the following:
1)Create a admin folder in the root and copy all app folders/files to the new admin folder

2)Use default namespace and develop all public pages in app folder

Having done this, and having changed admin/config/app.php from public $baseURL = 'http://mydomain/'; to $baseURL = 'http://mydomain/admin/'; I am running into a 404 error when trying to access http://mydomain/admin/ that states Controller or its method is not found: App\Controllers\Admin::index

I'm a little confused as I want to be able both http://mydomain/ and http://mydomain/admin/ independantly.

What am I missing?
Reply


Messages In This Thread
How to organize applications ? - by jocm.aguiar - 12-15-2019, 06:25 AM
RE: How to organize applications ? - by InsiteFX - 12-15-2019, 09:19 AM
RE: How to organize applications ? - by InsiteFX - 12-17-2019, 12:21 PM
RE: How to organize applications ? - by InsiteFX - 12-22-2019, 12:59 PM
RE: How to organize applications ? - by ZoeF - 04-14-2020, 12:10 PM
RE: How to organize applications ? - by InsiteFX - 04-14-2020, 12:44 PM
RE: How to organize applications ? - by 68thorby68 - 04-24-2020, 09:09 AM
RE: How to organize applications ? - by InsiteFX - 04-25-2020, 07:57 AM
RE: How to organize applications ? - by jreklund - 05-21-2020, 07:45 AM
RE: How to organize applications ? - by InsiteFX - 05-21-2020, 08:40 AM
RE: How to organize applications ? - by jreklund - 05-22-2020, 09:56 AM
RE: How to organize applications ? - by InsiteFX - 11-28-2020, 12:47 AM
RE: How to organize applications ? - by isoftzone - 02-13-2021, 04:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB