Welcome Guest, Not a member yet? Register   Sign In
Core vs Reactor uri_string
#1

[eluser]osci[/eluser]
Vanilla installations from bitbucket

same configs for both core and reactor
Code:
$config['base_url']    = 'http://ci.gr.local/';
$config['index_page'] = '';

URL to test
Code:
http://ci.gr.local/welcome

Code:
//Core returns
$URI->uri_string == '/welcome'
//Reactor returns
$URI->uri_string == 'welcome'

PS :in core version in system/core/URI.php at end of set_uri_string()
Code:
if ($parsed_uri != '')
{
   $parsed_uri = '/'.$parsed_uri;
}
return $parsed_uri;

Shouldn't both frameworks return the same?


Messages In This Thread
Core vs Reactor uri_string - by El Forum - 05-28-2011, 04:07 AM
Core vs Reactor uri_string - by El Forum - 05-28-2011, 07:54 AM
Core vs Reactor uri_string - by El Forum - 05-28-2011, 08:11 AM
Core vs Reactor uri_string - by El Forum - 05-28-2011, 11:10 AM
Core vs Reactor uri_string - by El Forum - 05-28-2011, 11:46 AM
Core vs Reactor uri_string - by El Forum - 05-28-2011, 03:12 PM
Core vs Reactor uri_string - by El Forum - 05-31-2011, 04:55 PM
Core vs Reactor uri_string - by El Forum - 05-31-2011, 06:23 PM
Core vs Reactor uri_string - by El Forum - 05-31-2011, 09:01 PM
Core vs Reactor uri_string - by El Forum - 06-01-2011, 02:58 AM
Core vs Reactor uri_string - by El Forum - 06-01-2011, 08:25 PM
Core vs Reactor uri_string - by El Forum - 06-02-2011, 12:38 AM
Core vs Reactor uri_string - by El Forum - 06-02-2011, 03:50 AM
Core vs Reactor uri_string - by El Forum - 06-02-2011, 02:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB