]> git.pld-linux.org Git - packages/php-yui-css-compressor.git/blob - abspath.patch
d2d8bbfd2b8ae475e2f9aa432257730d43874633
[packages/php-yui-css-compressor.git] / abspath.patch
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';
8 +        $longNamedColors = include __DIR__ '/data/named-to-hex-color-map.php';
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.041906 seconds and 2 git commands to generate.