<?php
class Controller_Test extends Controller {
function before() {
Debug::dump($this->request->route);
}
function action_index() {
echo 'Here! our home!!';
}
function action_404() {
echo 'Oppps, page not found!';
}
function action_test() {
throw new HttpNotFoundException;
}
function action_1() {
echo 'Pass 1';
}
function action_2() {
echo 'Pass 2';
}
function action_3() {
echo 'Pass 3';
}
}
<?php
return array(
'_root_' => 'test/index', // The default route
'_404_' => 'test/404', // The main 404 route
'test' => 'test/test',
':a/:b/:c' => 'test/3',
':a/:b' => 'test/2',
':a' => 'test/1',
);
I never write this docs. Just the docs say 'run the 404 page'.
So, I said it is bug must be correct.
If you can't correct soon this, let me know how hack index.php. I'm not expert for PHP and FuelPHP framework.
ML.
)
And this blog also said post in here when I have tourble.
Wel...I must also post this blog as issue to github???
And back to my work, I understood it changed in 1.1. and now it move correct.
It prevent to loop 404 to 404... ummm, I think it never solve the loop problem. How about "a ':a/:b' pattern that causes a 404" ?? It don't loop?? It looks like you're new here. If you want to get involved, click one of these buttons!