Fix issue of plugins autoload at bootstrap.

This commit is contained in:
Benoît Burnichon
2015-04-08 11:32:18 +02:00
parent 2eac08a0cc
commit 801eb39447
2 changed files with 11 additions and 3 deletions

View File

@@ -1,3 +1,6 @@
<?php
return require __DIR__ . '/../plugins/autoload.php';
require __DIR__ . '/../vendor/autoload.php';
if (file_exists(__DIR__ . '/../plugins/autoload.php')) {
require __DIR__ . '/../plugins/autoload.php';
}