[ticket/11266] Better message for when composer dependencies are missing.

PHPBB3-11266
This commit is contained in:
Andreas Fischer 2014-05-29 16:13:29 +02:00
parent f0dcc271ac
commit 505b26ed86

View file

@ -177,7 +177,11 @@ else
{
if (!file_exists($phpbb_root_path . 'vendor/autoload.php'))
{
trigger_error('You have not set up composer dependencies. See http://getcomposer.org/.', E_USER_ERROR);
trigger_error(
'Composer dependencies have not been set up yet, run ' .
"'php ../composer.phar install' from the phpBB directory to do so.",
E_USER_ERROR
);
}
require($phpbb_root_path . 'vendor/autoload.php');
}