Welcome Guest, Not a member yet? Register   Sign In
Redirecting To login page if i run codeigniter file through Command line
#1

[eluser]Harsh[/eluser]
Hi,

I need to run codeigniter controller through command line
I have tried with the example which is given in CI forum.But it is redirecting me to application login page.

I have done like:

php index.php tools tools message

if i run change the $route['default_controller'] = "login/login/login_redirect"; to
$route['default_controller'] = "tools/tools/message"; and run php index.php tools tools message then it is working perfect.But i dont want to change $route['default_controller'] value.


Please help me out.

Thanks
Harsh


Messages In This Thread
Redirecting To login page if i run codeigniter file through Command line - by El Forum - 01-16-2014, 04:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB