Skip to content

Commit e7a1ba5

Browse files
author
Nicholas K. Dionysopoulos
committed
Whoopsie! CLI scripts are busted if you don't launch them from the cli directory.
1 parent 0973fe9 commit e7a1ba5

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

component/backend/assets/cli/base.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@
2929
}
3030
}
3131

32-
if (!file_exists($curdir . '/includes/defines.php'))
33-
{
34-
$curdir = getcwd();
35-
}
36-
3732
if (file_exists($curdir . '/defines.php'))
3833
{
3934
include_once $curdir . '/defines.php';

0 commit comments

Comments
 (0)