mirror of
https://github.com/Seldaek/monolog.git
synced 2025-02-23 14:32:44 +01:00
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.
14 lines
327 B
PHP
14 lines
327 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Monolog package.
|
|
*
|
|
* (c) Jordi Boggiano <j.boggiano@seld.be>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
$loader = require __DIR__ . "/../vendor/autoload.php";
|
|
$loader->add('Monolog\\', __DIR__);
|