[eluser]Maglok[/eluser]
I have used the base_url() in a lot of view stuff already and it usually works. Lately though it has been giving me a problem.
My config.php reads:
Code:
$config['base_url'] = "http://www.someurl.com/somedir/";
Then I tried referencing a stylesheet like this:
Code:
<link rel="stylesheet" href="<?php echo base_url(); ?>css/style.css" type="text/css" media="screen" />
That actually kills the generation of the site like so:
Code:
<html>
<head>
<title>Title</title>
<link rel="stylesheet" href="
When I then echo base_url() anywhere it stops when it gets to that point.
Something is fishy and I don't know what. I have had it work on this host before. I can also load the CSS in the example if I just create the url myself instead of using base_url(), but that would be quite sloppy.