Created
January 14, 2018 05:43
-
-
Save webnitros/cda39fdebdbaa4350fd05fcd53ba125c to your computer and use it in GitHub Desktop.
api file modx revolution
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
<?php | |
ini_set('display_errors', 1); | |
ini_set("max_execution_time", 50); | |
define('MODX_API_MODE', true); | |
require 'index.php'; | |
$modx->getService('error', 'error.modError'); | |
$modx->getRequest(); | |
$modx->setLogLevel(modX::LOG_LEVEL_INFO); | |
$modx->setLogTarget('ERROR'); | |
$modx->error->message = null; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment