Skip to content

Commit

Permalink
Whoopsie! CLI scripts are busted if you don't launch them from the cl…
Browse files Browse the repository at this point in the history
…i directory.
  • Loading branch information
Nicholas K. Dionysopoulos committed Jul 16, 2018
1 parent 0973fe9 commit e7a1ba5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions component/backend/assets/cli/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
}
}

if (!file_exists($curdir . '/includes/defines.php'))
{
$curdir = getcwd();
}

if (file_exists($curdir . '/defines.php'))
{
include_once $curdir . '/defines.php';
Expand Down

0 comments on commit e7a1ba5

Please sign in to comment.