Return to Snippet

Revision: 62189
at February 7, 2013 05:15 by ibob


Initial Code
$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');

Initial URL

                                

Initial Description

                                

Initial Title
Modx External Script Session Start

Initial Tags

                                

Initial Language
Other