Error 503

{$errorMessage}

"; exit(); } /* start output buffering */ ob_start(); /* Create an instance of the modX class */ $modx= new modX(); if (!is_object($modx) || !($modx instanceof modX)) { ob_get_level() && @ob_end_flush(); $errorMessage = 'MODX not installed. Install now?'; @include(MODX_CORE_PATH . 'error/unavailable.include.php'); header($_SERVER['SERVER_PROTOCOL'] . ' 503 Service Unavailable'); echo "Error 503: Site temporarily unavailable

Error 503

{$errorMessage}

"; exit(); } /* Set the actual start time */ $modx->startTime= $tstart; /* Initialize the default 'web' context */ $modx->initialize('web'); /* execute the request handler */ if (!MODX_API_MODE) { $modx->handleRequest(); }