1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-05 12:47:39 +02:00

Fix test bootstrap autoloader

The previous `require_once` statement returns `true` when it loads the
autoload file rather than an instance of `ClassLoader`. Changing the
statement to `require` returns the instance needed to add the Monolog
test directory.
This commit is contained in:
adlawson
2013-09-17 13:06:43 +01:00
parent f645a74637
commit 5d36b5df7a

View File

@@ -9,5 +9,5 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
$loader = require_once __DIR__ . "/../vendor/autoload.php"; $loader = require __DIR__ . "/../vendor/autoload.php";
$loader->add('Monolog\\', __DIR__); $loader->add('Monolog\\', __DIR__);