]> git.pld-linux.org Git - packages/php-yui-css-compressor.git/blame - abspath.patch
fix typo
[packages/php-yui-css-compressor.git] / abspath.patch
CommitLineData
cc875250
ER
1--- YUI-CSS-compressor-PHP-port-2.4.8-p10/./cssmin.php~ 2017-04-04 17:38:03.000000000 +0300
2+++ YUI-CSS-compressor-PHP-port-2.4.8-p10/./cssmin.php 2017-04-26 12:23:21.253149342 +0300
3@@ -703,7 +703,7 @@
4 {
5 $patterns = array();
6 $replacements = array();
7- $longNamedColors = include 'data/named-to-hex-color-map.php';
d1241e88 8+ $longNamedColors = include __DIR__ . '/data/named-to-hex-color-map.php';
cc875250
ER
9 $propertiesWithColors = array(
10 'color',
11 'background(?:-color)?',
12@@ -750,7 +750,7 @@
13 $pattern =
14 '/(=\s*?["\']?)?#([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])(\}|[^0-9a-f{][^{]*?\})/iS';
15 $_index = $index = $lastIndex = $offset = 0;
16- $longHexColors = include 'data/hex-to-named-color-map.php';
17+ $longHexColors = include __DIR__ . '/data/hex-to-named-color-map.php';
18 $sb = array();
19
20 while (preg_match($pattern, $css, $m, 0, $offset)) {
This page took 0.190611 seconds and 4 git commands to generate.