/ Published in: Other

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$configpath = str_replace("\\", "/", dirname(dirname(dirname(dirname(__FILE__))))).'/beta2012/config.core.php'; require_once $configpath; require_once MODX_CORE_PATH.'config/'.MODX_CONFIG_KEY.'.inc.php'; require_once MODX_CORE_PATH.'model/modx/modx.class.php'; $modx = new modX(); $modx->initialize('web');
Comments
