Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
$root_url not working?
16-08-2011, 12:03 AM (This post was last modified: 16-08-2011 12:04 AM by mjwalsh.)
Post: #5
RE: $root_url not working?
That's what I am trying to figure out.. $root_url is not something I added in. That is something in the script so I am not sure why it's not working. When I view source the href's to the stylesheets are all

<link href="css/main.css" rel="stylesheet" type="text/css" media="screen" />
<link href="template/exoticblue/default.css" rel="stylesheet" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="template/exoticblue/sol.css" />

Which obviously won't work when using SEF urls like I am. So it looks as if the $root_url variable is simply not passing through global as expected?
In the functions file this is the format it should be following:

href="'.$root_url.'css/main.css"

However $root_url is showing as blank obviously from the view source, and it's being included fine:

function call_metalar()
{
tag_kaydet();
tag_game_kaydet();
global $website,$metalar,$meta_title,$meta_keywords,$meta_description,$root_url,$templa​te,$kolonlar;

Porne Gay
Free Porn Streams
Free Porn Streams
Free Porn Video
Free Asian Porn
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
$root_url not working? - mjwalsh - 15-08-2011, 01:45 AM
RE: $root_url not working? - Punktured - 15-08-2011, 02:37 PM
RE: $root_url not working? - mjwalsh - 15-08-2011, 11:55 PM
RE: $root_url not working? - admin - 15-08-2011, 11:59 PM
RE: $root_url not working? - mjwalsh - 16-08-2011 12:03 AM
RE: $root_url not working? - admin - 16-08-2011, 12:09 AM
RE: $root_url not working? - mjwalsh - 16-08-2011, 12:11 AM
RE: $root_url not working? - admin - 16-08-2011, 12:14 AM
RE: $root_url not working? - mjwalsh - 16-08-2011, 12:17 AM

Forum Jump: