mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 10:01:55 +02:00
Merge pull request #2512 from bantu/ticket/11266
[ticket/11266] Better message for when composer dependencies are missing... * bantu/ticket/11266: [ticket/11266] Better message for when composer dependencies are missing.
This commit is contained in:
@@ -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');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user