You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if I'm understanding this correctly or not but I merged two sites together. A external site and a dashboard and am splitting them up as so
So in the File application/Controllers/External/About.php I have
<?phpnamespaceApp\Controllers\External;
class About extends Buffer {
publicfunctionindex() {
echo'works';
die();
}
//--------------------------------------------------------------------
}
This file gets routed fine. The problem is when I navigate to www.external.com/Shop/Products/Search. Products.php is inside a sub folder called "Shop". It triggers a 404 which doesn't make sense since the other one gets routed fine. The following file does not since it is in a sub directory. No controller gets loaded if it's in a sub folder. Is this correct behavior?
What you didn't show, is what the route you setup for shop/products is. That is where the error is, likely.
However, this isn't a bug from what I can tell, so please continue this discussion on the forums as we reserve the Issues tracking for actual bugs and feature planning.
I'm not sure if I'm understanding this correctly or not but I merged two sites together. A external site and a dashboard and am splitting them up as so
application/Controllers/External
application/Controllers/Internal
My VHosts are setup as:
My routes are setup as
So in the File
application/Controllers/External/About.php
I haveThis file gets routed fine. The problem is when I navigate to www.external.com/Shop/Products/Search. Products.php is inside a sub folder called "Shop". It triggers a 404 which doesn't make sense since the other one gets routed fine. The following file does not since it is in a sub directory. No controller gets loaded if it's in a sub folder. Is this correct behavior?
The text was updated successfully, but these errors were encountered: