瀏覽代碼

use bootstrap.php.cache rather than autoload.php as the later expects bootstrap to have been run for having Symfony\Component\ClassLoader\UniversalClassLoader loaded

dbu 13 年之前
父節點
當前提交
e72d856f1b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Tests/tests/autoload.php.dist

+ 1 - 1
Tests/tests/autoload.php.dist

@@ -1,7 +1,7 @@
 <?php
 
 // try to reuse lib defined in a current symfony2 project
-$autoload = __DIR__.'/../../../../../../app/autoload.php';
+$autoload = __DIR__.'/../../../../../../app/bootstrap.php.cache';
 if (is_file($autoload)) {
     include $autoload;
 } else {