I got it
PHP Code:
<?php
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'myfile');
// get special phrase groups
$phrasegroups = array();
// get special data templates from the datastore
$specialtemplates = array();
// pre-cache templates used by all actions
$globaltemplates = array(
'my_custom_template'
);
// pre-cache templates used by specific actions
$actiontemplates = array();
require_once('./global.php');
eval('print_output("' . fetch_template('Custom_template') . '");');
?>