1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-05 20:57:36 +02:00

Switch to psr-4 autoloading, closes #323

This commit is contained in:
Jordi Boggiano
2014-02-18 14:59:31 +01:00
parent 6cabe95f23
commit 3638f9bfbb
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@
"aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB"
},
"autoload": {
"psr-0": {"Monolog": "src/"}
"psr-4": {"Monolog\\": "src/Monolog"}
},
"extra": {
"branch-alias": {

View File

@@ -10,6 +10,6 @@
*/
$loader = require __DIR__ . "/../vendor/autoload.php";
$loader->add('Monolog\\', __DIR__);
$loader->addPsr4('Monolog\\', __DIR__.'/Monolog');
date_default_timezone_set('UTC');