From 0add0a5cce78a505a9b59da20f73509a4644f49d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 16 Sep 2022 16:25:10 +0200 Subject: [PATCH] Continued: - this function was started some time ago and should (seems so?) handle JavaScript (file?) callbacks --- inc/expression-functions.php | 2 +- inc/libs/theme_functions.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'); -- 2.39.5