getThemePath() returns wrong folder
PermalinkAt first it was working fine but after I added a new Page format the result of this function was different. First my result was [/themes/myTheme/img/image.png]. After adding a new Page format this function results in [/concrete/themes/myTheme/img/image.png]. I searched multiple forums for this problem, the only thing I found was a problem where people didn't have a view or a default.php, I got both included.
Does anyone know this problem and has a solution for me? This problem is kind of urgent.
this basically just removes the "/concrete" part from the path.
You can then use $path instead of $this->getThemePath() anywhere it's needed