Created
March 5, 2018 07:21
-
-
Save morozVA/a760577a905ba5f1fa929f4046835d81 to your computer and use it in GitHub Desktop.
revo подключение к API во внешнем файле
This file contains hidden or 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); | |
| require_once($_SERVER['DOCUMENT_ROOT'].'/index.php'); | |
| $modx=new modX(); | |
| $modx->initialize('web'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment