Skip to content

Commit

Permalink
Fix #2073
Browse files Browse the repository at this point in the history
  • Loading branch information
64j committed Mar 7, 2022
1 parent 1358436 commit 2e61972
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manager/media/style/default/ajax.php
Expand Up @@ -3,7 +3,7 @@
define('MODX_API_MODE', true);
define('IN_MANAGER_MODE', true);

include_once("./../../../../manager/index.php");
include_once("./../../../index.php");

$modx->db->connect();

Expand Down
2 changes: 1 addition & 1 deletion manager/processors/login.processor.php
Expand Up @@ -5,7 +5,7 @@
}
define('IN_MANAGER_MODE', true); // we use this to make sure files are accessed through
define('MODX_API_MODE', true);
include_once(__DIR__ . '/../../manager/index.php');
include_once(__DIR__ . '/../index.php');
$modx->db->connect();
$modx->getSettings();
$modx->invokeEvent('OnManagerPageInit');
Expand Down

0 comments on commit 2e61972

Please sign in to comment.