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;