From 123c75ae2ddd61e02fc1387fef8c681bd72fb1b8 Mon Sep 17 00:00:00 2001 From: Djamil Legato Date: Fri, 5 Sep 2014 12:58:56 -0700 Subject: [PATCH] Changed command suggestion to run for installing the dependencies --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 8af6d323a..2133f6219 100644 --- a/index.php +++ b/index.php @@ -4,9 +4,10 @@ namespace Grav; if (version_compare($ver = PHP_VERSION, $req = '5.4.0', '<')) { exit(sprintf('You are running PHP %s, but Grav needs at least PHP %s to run.', $ver, $req)); } + $autoload = __DIR__ . '/vendor/autoload.php'; if (!is_file($autoload)) { - exit('Please run: composer install -o'); + exit('Please run: bin/grav install'); } use Grav\Common\Grav;