- this function was started some time ago and should (seems so?) handle
JavaScript (file?) callbacks
// Expression call-back to handle JavaScript inclusion
function doExpressionJs ($data) {
- die('<pre>'.print_r($data, TRUE));
+ /* DEBUG-DIE: */ die(sprintf('[%s:%d]: data=<pre>%s</pre>', __FUNCTION__, __LINE__, print_r($data, TRUE)));
}
// Set default theme
setMailerTheme($ret);
} elseif ((isMailerThemeSet()) && (isExtensionInstalledAndNewer('sql_patches', '0.1.4'))) {
- //die("<pre>".print_r($GLOBALS['cache_array']['themes'], TRUE)."</pre>");
+ //* DEBUG-DIE: */ die("<pre>".print_r($GLOBALS['cache_array']['themes'], TRUE)."</pre>");
// Get theme from cookie
$ret = getSession('mailer_theme');