mirror of
https://github.com/getgrav/grav.git
synced 2026-07-13 19:13:48 +02:00
Fixed GPM cli to run the locator
This commit is contained in:
3
bin/gpm
3
bin/gpm
@@ -25,7 +25,8 @@ if (!file_exists(ROOT_DIR . 'index.php')) {
|
||||
exit('FATAL: Must be run from ROOT directory of Grav!');
|
||||
}
|
||||
|
||||
$grav = Grav::instance(['loader' => $autoload]);
|
||||
$grav = Grav::instance(array('loader' => $autoload));
|
||||
$grav['locator'];
|
||||
|
||||
$app = new Application('Grav Package Manager', '0.1.0');
|
||||
$app->addCommands(array(
|
||||
|
||||
Reference in New Issue
Block a user