mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
Update autoloader path
This commit is contained in:
@@ -24,8 +24,10 @@ use Alchemy\Phrasea\Command\RecordAdd;
|
||||
use Alchemy\Phrasea\Command\RescanTechnicalDatas;
|
||||
use Alchemy\Phrasea\Command\UpgradeDBDatas;
|
||||
use Alchemy\Phrasea\CLI;
|
||||
use Alchemy\Phrasea\Command\Plugin\AddPlugin;
|
||||
use Alchemy\Phrasea\Command\Plugin\RemovePlugin;
|
||||
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
require_once __DIR__ . '/../lib/autoload.php';
|
||||
|
||||
try {
|
||||
$app = new CLI("
|
||||
@@ -90,6 +92,9 @@ try {
|
||||
$app->command(new RescanTechnicalDatas('records:rescan-technical-datas'));
|
||||
$app->command(new BuildMissingSubdefs('records:build-missing-subdefs'));
|
||||
|
||||
$app->command(new AddPlugin());
|
||||
$app->command(new RemovePlugin());
|
||||
|
||||
$result_code = is_int($app->run()) ? : 1;
|
||||
} catch (\Exception $e) {
|
||||
$result_code = 1;
|
||||
|
@@ -34,7 +34,7 @@ use Doctrine\ORM\Tools\Console\Command\ConvertMappingCommand;
|
||||
use Doctrine\ORM\Tools\Console\Command\RunDqlCommand;
|
||||
use Doctrine\ORM\Tools\Console\Command\ValidateSchemaCommand;
|
||||
|
||||
require_once __DIR__ . '/../plugins/autoload.php';
|
||||
require_once __DIR__ . '/../lib/autoload.php';
|
||||
|
||||
try {
|
||||
$cli = new CLI("
|
||||
|
Reference in New Issue
Block a user