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

Commit

Permalink
IN_MANAGER_MODE
Browse files Browse the repository at this point in the history
we use this to make sure files are accessed through
the manager instead of seperately.
  • Loading branch information
Lukianenko Dmytro authored and Lukianenko Dmytro committed Nov 2, 2015
1 parent 847047f commit ebd69f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.php
Expand Up @@ -77,8 +77,9 @@

define("IN_ETOMITE_PARSER", "true"); // provides compatibility with etomite 0.6 and maybe later versions
define("IN_PARSER_MODE", "true");
define("IN_MANAGER_MODE", "false");

if (!defined('IN_MANAGER_MODE')) {
define("IN_MANAGER_MODE", "false");
}
if (!defined('MODX_API_MODE')) {
define('MODX_API_MODE', false);
}
Expand Down

0 comments on commit ebd69f9

Please sign in to comment.