From: Roland Häder Date: Fri, 16 Sep 2022 14:25:10 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0add0a5cce78a505a9b59da20f73509a4644f49d;p=mailer.git Continued: - this function was started some time ago and should (seems so?) handle JavaScript (file?) callbacks --- diff --git a/inc/expression-functions.php b/inc/expression-functions.php index afb7a7bf53..65a8acdbd6 100644 --- a/inc/expression-functions.php +++ b/inc/expression-functions.php @@ -552,5 +552,5 @@ function doExpressionJquery ($data) { // Expression call-back to handle JavaScript inclusion function doExpressionJs ($data) { - die('
'.print_r($data, TRUE));
+	/* DEBUG-DIE: */ die(sprintf('[%s:%d]: data=
%s
', __FUNCTION__, __LINE__, print_r($data, TRUE))); } diff --git a/inc/libs/theme_functions.php b/inc/libs/theme_functions.php index 25b337d46c..175244f770 100644 --- a/inc/libs/theme_functions.php +++ b/inc/libs/theme_functions.php @@ -236,7 +236,7 @@ function getActualTheme () { // Set default theme setMailerTheme($ret); } elseif ((isMailerThemeSet()) && (isExtensionInstalledAndNewer('sql_patches', '0.1.4'))) { - //die("
".print_r($GLOBALS['cache_array']['themes'], TRUE)."
"); + //* DEBUG-DIE: */ die("
".print_r($GLOBALS['cache_array']['themes'], TRUE)."
"); // Get theme from cookie $ret = getSession('mailer_theme');