Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Commit

Permalink
Look for atoum in vendor/bin/.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Nov 24, 2014
1 parent b232ad1 commit 504e5b9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Bin/Run.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,16 @@ public function main ( ) {

$atoum = 'atoum';

if(isset($_SERVER['HOA_ATOUM_BIN']))
if(WITH_COMPOSER)
$atoum = __DIR__ . DS .
'..' . DS .
'..' . DS .
'..' . DS .
'..' . DS .
'..' . DS .
'bin' . DS .
'atoum';
elseif(isset($_SERVER['HOA_ATOUM_BIN']))
$atoum = $_SERVER['HOA_ATOUM_BIN'];

$command = $atoum .
Expand Down

0 comments on commit 504e5b9

Please sign in to comment.