Skip to content

Commit 8e848b7

Browse files
authored
return lost constant
1 parent c7debfa commit 8e848b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/includes/define.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@
180180
}
181181

182182
if (is_cli()) {
183+
define('MODX_CLI', true);
183184
if (! (defined('MODX_BASE_PATH') || defined('MODX_BASE_URL'))) {
184185
throw new RuntimeException('Please, define MODX_BASE_PATH and MODX_BASE_URL on cli mode');
185186
}

0 commit comments

Comments
 (0)