*{margin:0;padding:0} body{margin:50px;background:#eee;} .install{padding:10px;border:5px solid #f22;background:#f99;margin:0 auto;font:120%/1em serif;text-align:center;} p{ margin:20px 0; } a{font-size:200%;color:#f22;text-decoration:underline;margin-top: 30px;padding: 5px;}

MODx is not currently installed or the configuration file cannot be found.

Do you want to install now?

"; exit; } } // start session startCMSSession(); // initiate a new document parser include_once(MODX_MANAGER_PATH.'/includes/document.parser.class.inc.php'); $modx = new DocumentParser; $etomite = &$modx; // for backward compatibility // set some parser options $modx->minParserPasses = 1; // min number of parser recursive loops or passes $modx->maxParserPasses = 10; // max number of parser recursive loops or passes $modx->dumpSQL = false; $modx->dumpSnippets = false; // feed the parser the execution start time $modx->tstart = $tstart; // Debugging mode: $modx->stopOnNotice = false; // Don't show PHP errors to the public if(!isset($_SESSION['mgrValidated']) || !$_SESSION['mgrValidated']) { @ini_set("display_errors","0"); } date_default_timezone_set('America/Montreal'); // execute the parser if index.php was not included if (!MODX_API_MODE) { $modx->executeParser(); } ?>