Permalink
Browse files

make jackrabbit run command possible by not trying to login in that case

  • Loading branch information...
1 parent 2581490 commit f5c33d1c8e7f253c9f19f094d07ec69e282d4c30 @dbu dbu committed Feb 12, 2013
Showing with 9 additions and 0 deletions.
  1. +9 −0 cli-config.jackrabbit.php.dist
@@ -10,6 +10,15 @@
$extraCommands = array();
$extraCommands[] = new \Jackalope\Tools\Console\Command\JackrabbitCommand();
+if (! isset($argv[1])
+ || $argv[1] == 'jackalope:run:jackrabbit'
+ || $argv[1] == 'list'
+ || $argv[1] == 'help'
+) {
+ //abort here, do not try to init repository
+ return;
+}
+
$params = array(
'jackalope.jackrabbit_uri' => 'http://localhost:8080/server/',
);

0 comments on commit f5c33d1

Please sign in to comment.