Welcome Guest, Not a member yet? Register   Sign In
How to change site_url() value in localhost?
#1
Sad 

Dear Friends,
I download my CI 3 web site files from live to localhost. But after changing the base_url in application/config/config.php , when I try to
login it goes to live site. When I look on form action I can see the live server URL value instead of local. In code I can see using site_url().
Where I can change this value to work on localhost ? Please advise.

Thanks
Anes P A
Reply
#2

It is odd.
site_url() generates the URL based on base_url.
Reply
#3

(11-29-2022, 07:53 PM)kenjis Wrote: It is odd.
site_url() generates the URL based on base_url.

Your answer is perfect. Thanks kenjis...
Reply




Theme © iAndrew 2016 - Forum software by © MyBB