CodeIgniter Forums

Full Version: Controllers
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]v4et[/eluser]
Which is the righteous ci controller for payments?,would you mind bring path

El Forum

[eluser]Aken[/eluser]
I'd suggest contacting someone in your native language, because your question makes very little sense in English.

El Forum

[eluser]bluemonsta[/eluser]
I firmly believe that the only 'righteous' controller in CI is used by the 404_override in application/config/routes.php

After all if it can't be found, it doesn't exist, and that makes it righteous does it not?

El Forum

[eluser]InsiteFX[/eluser]
I firmly believe that the only ‘righteous’ controller in CI is the MY_Controller

El Forum

[eluser]bluemonsta[/eluser]
I stand corrected. Your CI-Fu is more 'righteous' than mine.

El Forum

[eluser]InsiteFX[/eluser]
Actaully it is CI's Front Controller the CI_Controller.

Follow the code in index.php

El Forum

[eluser]v4et[/eluser]
When you say MY_ arent you giving particular class to the controller?

I got
$route['default_controller'] = "home";
$route['scaffolding_trigger'] = "";
$route[$config['admin_controllers_folder']] = $config['admin_controllers_folder'].'/login';
$route['page/:any'] = "page/index";
$route['bookMark/:any'] = "bookMark/index";

in application/config/routes.php,nothing of 404_overrride

If its ci_controller what is the path to it and the best way to configure it?

Thanks for reading