From a86159a02cfcf65772b4c218201d44ec98579760 Mon Sep 17 00:00:00 2001 From: Djamil Legato Date: Thu, 11 Sep 2014 12:40:53 -0700 Subject: [PATCH] Fixed GPM cli to run the locator --- bin/gpm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/gpm b/bin/gpm index 0a9701780..b3368e8f8 100755 --- a/bin/gpm +++ b/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(