Answer the question
In order to leave comments, you need to log in
Why does Yii automatically add the domain name to relative paths? How to ban it?
Styles are written in the protected/views/layouts/head.php template:
<link rel="stylesheet" href="/css/normalize.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="http://site.com/css/normalize.css" type="text/css" media="screen, projection" />
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question