Created
January 3, 2018 09:50
-
-
Save morozVA/caecb6669bac752d61c79a93f8505be2 to your computer and use it in GitHub Desktop.
evo include modx api in file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define('MODX_API_MODE', true); | |
include_once(dirname(__FILE__)."/index.php"); | |
$modx->db->connect(); | |
if (empty($modx->config)) { | |
$modx->getSettings(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment