Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Get information about which route was used
Post: RE: Get information about which route was used

Rufnex Wrote: (02-10-2015, 06:44 AM) -- You should never modify the core classes instead you have to extend the core as described here: http://www.codeigniter.com/userguide3/general/core_classes.h...
10,215 Views
0 Replies
02-11-2015, 03:00 AM
konrados
    Thread: Get information about which route was used
Post: RE: Get information about which route was used

Rufnex Wrote: (02-10-2015, 06:38 AM) -- In your case you know allready what route you have uesed. If you are in the index method of your controller it comes from the second route. Anyhow there is no ...
10,215 Views
0 Replies
02-10-2015, 06:40 AM
konrados
    Thread: Get information about which route was used
Post: Get information about which route was used

Hi, Is this possible (in a controller) to find out which route was used? For example I have these  routes: PHP Code: -- $route['admin/projects_management/ajax_action'] = 'admin_projects_manag...
10,215 Views
0 Replies
02-10-2015, 05:33 AM
konrados
    Thread: Access to routes from config file
Post: Access to routes from config file

Hi, Is this possible to access a root array (in routes.php) from a config file? edit: OK, nevermind, I changed my mind about how to accomplish things.
2,776 Views
0 Replies
01-19-2015, 08:47 AM
konrados
    Thread: Multilanguage service
Post: RE: Multilanguage service

@michalsn @marcogmonteiro Thanks. There is a problem with this library though. It doesn't recognize my other routes. I have: $route['^(en|es)/(.+)$'] = "$2"; $route['^(en|es)$'] = $route['default_c...
16,251 Views
0 Replies
11-07-2014, 04:18 AM
konrados
    Thread: Multilanguage service
Post: RE: Multilanguage service

Thank you both! I'll look at the links and I'll get back in case of any problems.
16,251 Views
0 Replies
11-06-2014, 11:14 PM
konrados
    Thread: Multilanguage service
Post: Multilanguage service

Hi, What I want to accomplish is a multilanguage web service, where language is determined by first two characters after base_url. That is, when user enters "example.com/en/someController/someMetho...
16,251 Views
0 Replies
11-06-2014, 07:01 AM
konrados

Theme © iAndrew 2016 - Forum software by © MyBB