Theme installing in concrete folder

Permalink
I've built over a dozen custom C5 themes and this is the first time this has happened and I'm not sure why.

I built my theme and installed it, but my css wasn't being pulled in. When I viewed the source of the page, it says the path for my css file is:

/lifestylemedicine/concrete/themes/anderson_lifestyle/css/main.css


and the path should be

/lifestylemedicine/themes/anderson_lifestyle/css/main.css


I used this code to pull in my theme's css

<link href="<?php echo $this->getThemePath()?>/css/main.css" rel="stylesheet">


Anyone know why the theme installed in the concrete/themes folder instead of the root/themes folder?

FatTony1952
 
FatTony1952 replied on at Permalink Reply
FatTony1952
Bump for an answer.

I've uploaded my theme to the themes folder, but still, the core is defaulting to concrete/themes instead.
Steevb replied on at Permalink Reply
Steevb
Sorry,

Can't remember exact remedy?

I know this was issue, I think it is something to do with 'site.php'

Do you have this in site.php?
define('SERVER_PATH_VARIABLE', 'REDIRECT_URL');?>


But then I could be completely wrong?

Steev
FatTony1952 replied on at Permalink Reply
FatTony1952
I uninstalled, then reinstalled the theme and it installed correctly the second time...err...I should say that Concrete read it from the correct location the second time.

I will look into your solution and see what I come up with.