From 362feae185aaa33f6186c92cd567bae624637d8d Mon Sep 17 00:00:00 2001 From: billz Date: Tue, 31 Oct 2023 15:14:55 +0000 Subject: [PATCH] Echo logfile path + file for ajax handler --- ajax/system/sys_debug.php | 10 ++++++++++ installers/debuglog.sh | 1 + templates/system/tools.php | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 ajax/system/sys_debug.php create mode 100644 templates/system/tools.php diff --git a/ajax/system/sys_debug.php b/ajax/system/sys_debug.php new file mode 100644 index 00000000..a62931fc --- /dev/null +++ b/ajax/system/sys_debug.php @@ -0,0 +1,10 @@ + diff --git a/installers/debuglog.sh b/installers/debuglog.sh index 09c82e59..ed2fe2e6 100755 --- a/installers/debuglog.sh +++ b/installers/debuglog.sh @@ -117,6 +117,7 @@ function _generate_log() { _systemd_info _log_write "RaspAP debug log generation complete." + echo "${logfile_path}/${RASPAP_LOGFILE}" exit 0 } diff --git a/templates/system/tools.php b/templates/system/tools.php new file mode 100644 index 00000000..f47be509 --- /dev/null +++ b/templates/system/tools.php @@ -0,0 +1,35 @@ + +
+

+ + + +
+
+ +
+ +
+
+
+ + +
+
+ + +
+ +
+
+
+ + + +
+ +