We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sass.php after generating style uses wrong slash in Windows. So that firefox can't read the file.
Yii::app()->clientScript->registerCssFile($url . DIRECTORY_SEPARATOR . $dstFilename);
I changed this to this code so firefox now works fine.
$cssUrl = $url . DIRECTORY_SEPARATOR . $dstFilename; Yii::app()->clientScript->registerCssFile(str_replace('', '/', $cssUrl));
Please take a look.
The text was updated successfully, but these errors were encountered:
Main idea is that we should not use DIRECTORY_SEPARATOR in urls. Yii::app()->clientScript->registerCssFile($url . '/' . $dstFilename);
This is also a fix if $url does not contain DIRECTORY_SEPARATOR
Sorry, something went wrong.
No branches or pull requests
Sass.php after generating style uses wrong slash in Windows. So that firefox can't read the file.
Yii::app()->clientScript->registerCssFile($url . DIRECTORY_SEPARATOR . $dstFilename);
I changed this to this code so firefox now works fine.
$cssUrl = $url . DIRECTORY_SEPARATOR . $dstFilename;
Yii::app()->clientScript->registerCssFile(str_replace('', '/', $cssUrl));
Please take a look.
The text was updated successfully, but these errors were encountered: