From 983cc035d02e6509687a40b5977b859b8e7fd2a8 Mon Sep 17 00:00:00 2001 From: gggeek Date: Thu, 24 Nov 2022 17:43:18 +0000 Subject: [PATCH] fix recent changes to debugger code --- debugger/action.php | 4 ++-- debugger/controller.php | 4 ++-- debugger/index.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/debugger/action.php b/debugger/action.php index bd192e1e..9dacf155 100644 --- a/debugger/action.php +++ b/debugger/action.php @@ -9,7 +9,7 @@ * @todo be smarter in creating client stub for proxy/auth cases: only set appropriate property of client obj **/ -if (getenv('TESTMODE') === 'true') require_once __DIR__ . "../demo/server/_prepend.php"; +if (getenv('TESTMODE') === 'true') require_once __DIR__ . "/../demo/server/_prepend.php"; header('Content-Type: text/html; charset=utf-8'); @@ -565,4 +565,4 @@ if ($action) { ?> - + diff --git a/debugger/controller.php b/debugger/controller.php index 5a800906..1fcfea94 100644 --- a/debugger/controller.php +++ b/debugger/controller.php @@ -14,7 +14,7 @@ * @todo if js libs are not available, do not try to load them **/ -if (getenv('TESTMODE') === 'true') require_once __DIR__ . "../demo/server/_prepend.php"; +if (getenv('TESTMODE') === 'true') require_once __DIR__ . "/../demo/server/_prepend.php"; // Make sure we set the correct charset type for output, so that we can display all characters header('Content-Type: text/html; charset=utf-8'); @@ -361,4 +361,4 @@ $editorlibs = (defined('JSXMLRPC_PATH') ? JSXMLRPC_PATH : '../..') . '/jsxmlrpc/ - + diff --git a/debugger/index.php b/debugger/index.php index 18c74189..7da44089 100644 --- a/debugger/index.php +++ b/debugger/index.php @@ -1,6 +1,6 @@ - + -- 2.47.0