1
0
Fork 0

Update AutoloadGenerator.php

This should fix an issue with this commit:
87a42c2f01

This commit is causing a parse error in autoload_namespaces.php:
return array(
    'zsql' => 'phar://' . '$vendorDir . '/jbboehr/zsql/build/zsql.phar',

A similar problem happens when using autoload.files as well.
pull/1856/head
John Boehr 2013-05-02 16:04:39 -07:00
parent a7e88f7a80
commit caad88c047
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ EOF;
} }
if (preg_match('/\.phar$/', $path)){ if (preg_match('/\.phar$/', $path)){
$baseDir = "'phar://' . '" . $baseDir; $baseDir = "'phar://' . " . $baseDir;
} }
return $baseDir.var_export($path, true); return $baseDir.var_export($path, true);