_color_import_stylesheet
modules/color/color.module, строка 368
- Версии
- 5
_color_import_stylesheet($matches)
Helper function for _color_rewrite_stylesheet.
Код
<?php
function _color_import_stylesheet($matches) {
return preg_replace('/url\(([\'"]?)(?![a-z]+:)/i', 'url(\1'. dirname($matches[1]) .'/', file_get_contents($matches[1]));
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии