mirror of
https://github.com/getgrav/grav.git
synced 2025-10-26 07:56:07 +01:00
Changed command suggestion to run for installing the dependencies
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user