Fix: Building invalid image URL on Windows Systems.

This commit is contained in:
Sebastian Stumpf 2015-10-05 13:57:22 +02:00
parent cfe2835411
commit 1c82f9fa13

View File

@ -68,7 +68,7 @@ class Theme extends \yii\base\Theme
if (file_exists($themedFile)) { if (file_exists($themedFile)) {
return str_replace('@web', $this->getBaseUrl(), $path); return str_replace('@web', $this->getBaseUrl(), $path);
} else { } else {
$path = Yii::getAlias($path); return $path;
} }
} }