summaryrefslogtreecommitdiffstats
path: root/Horde_Css_Parser-rpm.patch
blob: c223f85ecd6ca2e9e3fc8ce06d90734b8214b572 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -up Horde_Css_Parser-1.0.5/lib/Horde/Css/Parser.php.rpm Horde_Css_Parser-1.0.5/lib/Horde/Css/Parser.php
--- Horde_Css_Parser-1.0.5/lib/Horde/Css/Parser.php.rpm	2015-01-08 16:55:01.000000000 +0100
+++ Horde_Css_Parser-1.0.5/lib/Horde/Css/Parser.php	2015-01-08 16:55:09.000000000 +0100
@@ -11,11 +11,7 @@
  * @package   Css_Parser
  */
 
-if (file_exists(__DIR__ . '/Parser/vendor/autoload.php')) {
-    require_once __DIR__ . '/Parser/vendor/autoload.php';
-} else {
-    require_once __DIR__ . '/../../../bundle/vendor/autoload.php';
-}
+require_once '/usr/share/php/Sabberworm/CSS/autoload.php';
 
 /**
  * Horde interface to the Sabberworm CSS Parser library.