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
The 1.0 version used links like:
href="backend/settings"
Now this has become:
href="/index.php/backend/settings"
Is there a good reason to do that?
Shouldn't you use site_url('backend/settings') ?
I'm not writing a lot of php, and I'm not familiar with CodeIgniter, that's why I'm ask. I'm happy to send in a pull request with the fix if you confirm I am correct.
By the way, I just upgraded, and my URL's containing index.php if I click around. I'm using an NGINX config instead of .htaccess and a subfolder.
The text was updated successfully, but these errors were encountered:
Actually you're definitely right. It was supposed to be like that but I didn't know about the URL helper back then and the site_url method so this is why I've written that manually.
I will mark this as an enhancement and give you the time to integrate it within the application.
The 1.0 version used links like:
href="backend/settings"
Now this has become:
href="/index.php/backend/settings"
Is there a good reason to do that?
Shouldn't you use site_url('backend/settings') ?
I'm not writing a lot of php, and I'm not familiar with CodeIgniter, that's why I'm ask. I'm happy to send in a pull request with the fix if you confirm I am correct.
By the way, I just upgraded, and my URL's containing index.php if I click around. I'm using an NGINX config instead of .htaccess and a subfolder.
The text was updated successfully, but these errors were encountered: