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
Is this just me or this is not really working? please i am stuck at this problem.
I want to test the default routes if working without any use of routes defined.
$routes->setDefaultNamespace('App\Controllers');
$routes->setDefaultController('Frontpanel');
$routes->setDefaultMethod('index');
$routes->setTranslateURIDashes(true);
$routes->set404Override();
$routes->setAutoRoute(true);
and removed any routes setters
it goes to this line 557 in System Router
$this->controller = str_replace('/', '\', $this->collection->getDefaultNamespace() . $this->directory . $this->controllerName());
$this->controller equals to App\Controllers\\Frontpanel
if i remove the DIRECTORY this will work. but i don`t know why the directory is put there.
So i let you guys decide wtf is going on.
Thanks
The text was updated successfully, but these errors were encountered: