Skip to content

Commit

Permalink
Merge pull request #7 from addshore/patch-1
Browse files Browse the repository at this point in the history
use getcwd() instead of exec('pwd')
  • Loading branch information
JeroenDeDauw committed Mar 24, 2014
2 parents 5add01f + c61e495 commit fea2eac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
die( 'Not an entry point' );
}

$pwd = exec( 'pwd' );
$pwd = getcwd();
chdir( __DIR__ . '/..' );
passthru( 'composer update' );
chdir( $pwd );
Expand All @@ -17,4 +17,4 @@
call_user_func( $extensionFunction );
}

$GLOBALS['wtfIsThisShit'] = $GLOBALS['wgHooks'];
$GLOBALS['wtfIsThisShit'] = $GLOBALS['wgHooks'];

0 comments on commit fea2eac

Please sign in to comment.