diff --git a/bin/acquiacli-robo.php b/bin/acquiacli-robo.php index fb478bf..87b919d 100644 --- a/bin/acquiacli-robo.php +++ b/bin/acquiacli-robo.php @@ -8,7 +8,7 @@ $pharPath = \Phar::running(true); if ($pharPath) { - $root = __DIR__; + $root = $pharPath; $autoloaderPath = "$pharPath/vendor/autoload.php"; } else { if (file_exists(dirname(__DIR__).'/vendor/autoload.php')) { diff --git a/default.acquiacli.yml b/default.acquiacli.yml index 84610bf..0c4b952 100644 --- a/default.acquiacli.yml +++ b/default.acquiacli.yml @@ -6,4 +6,3 @@ extraconfig: format: 'Y-m-d H:i:s' taskwait: 5 timeout: 300 - configsyncdir: 'sync' diff --git a/tests/AcquiaCliApplicationTest.php b/tests/AcquiaCliApplicationTest.php index 286d717..d5f40d7 100644 --- a/tests/AcquiaCliApplicationTest.php +++ b/tests/AcquiaCliApplicationTest.php @@ -33,8 +33,7 @@ public function testConfig() 'timezone' => 'Australia/Sydney', 'format' => 'Y-m-d H:i:s', 'taskwait' => 5, - 'timeout' => 300, - 'configsyncdir' => 'sync' + 'timeout' => 300 ]; $this->assertEquals($defaultAcquiaConfig, $config->get('acquia'));