mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 21:38:54 +00:00
[ticket/11266] Better message for when composer dependencies are missing.
PHPBB3-11266
This commit is contained in:
parent
f0dcc271ac
commit
505b26ed86
1 changed files with 5 additions and 1 deletions
|
@ -177,7 +177,11 @@ else
|
||||||
{
|
{
|
||||||
if (!file_exists($phpbb_root_path . 'vendor/autoload.php'))
|
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');
|
require($phpbb_root_path . 'vendor/autoload.php');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue