[eluser]Jan_1[/eluser]
I don't understand why my URI CLASS works fine in one Module and not in an other.
I do get '404 page not found' when I put something after the controllers name in the url (segment 2 and more)
There is no special config. Am I mad?
Could someone please give me a hint what to look for? What should I check?
Code:
class Replacementcar extends Front_Controller
{
public function __construct()
{
parent::__construct();
}
public function index()
{
$this->insurances(); // set the method for the index page
}
public function insurances()
{
echo $this->uri->uri_string();
}
}
does not work when i put a second segment in url
Code:
class Resources extends Front_Controller
{
public function __construct()
{
parent::__construct();
}
public function index()
{
$this->insurances(); // set the method for the index page
}
public function insurances()
{
echo $this->uri->uri_string();
}
}
shows me everything i put behind index.php/resources/