summaryrefslogtreecommitdiffstats
path: root/php-symfony4-autoload.patch
blob: 3b56f7d2c5935509be25f05e2eaabb06c7c8890d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -up ./src/Symfony/Component/VarDumper/Resources/bin/var-dump-server.old ./src/Symfony/Component/VarDumper/Resources/bin/var-dump-server
--- ./src/Symfony/Component/VarDumper/Resources/bin/var-dump-server.old	2018-09-04 13:33:05.600027027 +0200
+++ ./src/Symfony/Component/VarDumper/Resources/bin/var-dump-server	2018-09-04 13:34:32.377481003 +0200
@@ -31,11 +31,9 @@ function includeIfExists(string $file):
 }
 
 if (
-    !includeIfExists(__DIR__ . '/../../../../autoload.php') &&
-    !includeIfExists(__DIR__ . '/../../vendor/autoload.php') &&
-    !includeIfExists(__DIR__ . '/../../../../../../vendor/autoload.php')
+    !includeIfExists('/usr/share/php/Symfony4/autoload.php')
 ) {
-    fwrite(STDERR, 'Install dependencies using Composer.'.PHP_EOL);
+    fwrite(STDERR, 'Install dependencies.'.PHP_EOL);
     exit(1);
 }