cakephp 2.0 prefix of language in url ?

2011-12-15 Thread progra...@gmail.com
I used till 1.3 this code in boostrap... if(isset($_GET['url'])) { if ( strlen( substr( $_GET['url'], 0, strpos( $_GET['url'], '/' ) ) ) == 2 ) { if(!defined('__RQL__')) define('__RQL__', substr( $_GET['url'], 0, strpos( $_GET['url'], '/' ) ) ); $_GET['url'] = substr( $_GET['u

Re: third level domain and cakephp

2011-08-27 Thread progra...@gmail.com
Thanks Ben I tried but not results ... My third level domain works but it currently doesnt point to controller i need, it points to root... please help ! i post my htaccess, i changed test , but it is "corso", cause i dont want now google indexes..until it works.. What is my mistake? Help pleas

third level domain and cakephp

2011-08-26 Thread progra...@gmail.com
I have my site with cakephp ... I created a third level domain for img Now i want that my *third level domain *points to a *function *of my controller... Example: test.mydomain.com to mydomain.com/test problem is that all points to app/webroot folder.. how to solve the problem? My htaccess contai