Skip to content

Commit

Permalink
Add app/autoload.php for compatibility with eZ Publish Legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Jan 3, 2018
1 parent 321280f commit ab8d3e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/autoload.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php

require_once __DIR__ . '/../vendor/autoload.php';
require_once __DIR__ . '/../ezpublish_legacy/autoload.php';
2 changes: 1 addition & 1 deletion bin/console
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ set_time_limit(0);
setlocale(LC_CTYPE, 'C.UTF-8');

/** @var Composer\Autoload\ClassLoader $loader */
$loader = require __DIR__.'/../vendor/autoload.php';
$loader = require __DIR__.'/../app/autoload.php';

$input = new ArgvInput();
$env = $input->getParameterOption(['--env', '-e'], getenv('SYMFONY_ENV') ?: 'dev');
Expand Down

0 comments on commit ab8d3e0

Please sign in to comment.