Fix feedback from 7222c1

main
Jordi Boggiano 13 years ago
parent 0a4f36ea6d
commit e90a8dc4c9

@ -31,7 +31,7 @@ class AutoloadGenerator
<?php
// autoload.php generated by Composer
if (!class_exists('Composer\\Autoload\\ClassLoader')) {
if (!class_exists('Composer\\Autoload\\ClassLoader', false)) {
require __DIR__.'/ClassLoader.php';
}
@ -120,7 +120,6 @@ EOF;
file_put_contents($targetDir.'/autoload.php', $autoloadFile);
file_put_contents($targetDir.'/autoload_namespaces.php', $namespacesFile);
file_put_contents($targetDir.'/autoload_namespaces.php', $namespacesFile);
copy(__DIR__.'/ClassLoader.php', $targetDir.'/ClassLoader.php');
}

Loading…
Cancel
Save