aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/startup.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-05-29 16:13:29 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-05-29 16:13:29 +0200
commit505b26ed86840f98786705515097bb08da9e09ef (patch)
tree5908e9ec57607c11791ef6d562aba9a11ee9435d /phpBB/includes/startup.php
parentf0dcc271ac2f652b75b265deba7ad2ddcf861b6f (diff)
downloadforums-505b26ed86840f98786705515097bb08da9e09ef.tar
forums-505b26ed86840f98786705515097bb08da9e09ef.tar.gz
forums-505b26ed86840f98786705515097bb08da9e09ef.tar.bz2
forums-505b26ed86840f98786705515097bb08da9e09ef.tar.xz
forums-505b26ed86840f98786705515097bb08da9e09ef.zip
[ticket/11266] Better message for when composer dependencies are missing.
PHPBB3-11266
Diffstat (limited to 'phpBB/includes/startup.php')
-rw-r--r--phpBB/includes/startup.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/includes/startup.php b/phpBB/includes/startup.php
index 65a193193a..50fcd11bee 100644
--- a/phpBB/includes/startup.php
+++ b/phpBB/includes/startup.php
@@ -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');
}