Welcome Guest, Not a member yet? Register   Sign In
confusion with urls
#2

[eluser]cahva[/eluser]
Use URL helper. You'll be using it a lot so put it to autoload. Change your view code's urls to this:
Code:
<link href="<?php echo base_url() ?>css/common/css-reset.css" rel="stylesheet" type="text/css" media="all" />
It will print the base_url you have defined in the config.


Messages In This Thread
confusion with urls - by El Forum - 08-15-2010, 05:03 PM
confusion with urls - by El Forum - 08-15-2010, 06:51 PM
confusion with urls - by El Forum - 08-15-2010, 06:56 PM
confusion with urls - by El Forum - 08-16-2010, 07:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB