Skip to content

Commit

Permalink
Fix --shopDir option...
Browse files Browse the repository at this point in the history
  • Loading branch information
marcharding committed May 23, 2015
1 parent 800e627 commit b386dc9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Oxrun/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,8 @@ protected function getDefaultInputDefinition()
public function bootstrapOxid()
{
$input = new ArgvInput;
$input->bind( $this->getDefinition() );
if( $input->getOption('shopDir') ) {
$oxBootstrap = $input->getOption('shopDir'). '/bootstrap.php';
if($input->getParameterOption('--shopDir')) {
$oxBootstrap = $input->getParameterOption('--shopDir'). '/bootstrap.php';
if( $this->checkBootstrapOxidInclude( $oxBootstrap ) === true ) {
return true;
}
Expand Down

0 comments on commit b386dc9

Please sign in to comment.