Changed command suggestion to run for installing the dependencies

This commit is contained in:
Djamil Legato
2014-09-05 12:58:56 -07:00
parent d05c049d4c
commit 123c75ae2d

View File

@@ -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 <strong>PHP %s</strong> to run.', $ver, $req));
}
$autoload = __DIR__ . '/vendor/autoload.php';
if (!is_file($autoload)) {
exit('Please run: <i>composer install -o</i>');
exit('Please run: <i>bin/grav install</i>');
}
use Grav\Common\Grav;