JasonBaier / ci3-fire-starter

NOW THAT CODEIGNITER 4 HAS BEEN RELEASED, THIS PROJECT WILL NOT BE UPDATED ANYMORE. CI3 Fire Starter is a CodeIgniter3 skeleton application that includes jQuery and Twitter Bootstrap. It is intended to be light weight, minimalistic and not get in your way of building great CodeIgniter 3 applications.
MIT License
153 stars 154 forks source link

some fix #35

Closed arif-rh closed 7 years ago

arif-rh commented 7 years ago

some bugs found when application run on sub folder.

  1. core.css point to wrong path
  2. baseURL in core_i18n.js also will point to wrong path

All these changes to fix it.

JasonBaier commented 7 years ago

Thanks for the suggestions. I am merging some of these changes manually since a couple of your changes weren't necessary: 1) You didn’t need to update the User controller since upon selecting a new language, the page is refreshed and MY_Controller sets the user’s language setting. 2) You also want to leave $this->_redirect_url in the add function of the admin/Users controller. The redirect URL is established in the constructor and remembers list filters so that after adding a new user, you return to the last list page you were on. All your other changes seem fine. Thanks!