From 631930ea39c383b9dbf2a6698667217e8fd9adbc Mon Sep 17 00:00:00 2001
From: Retro_Guy
Date: Sat, 23 Mar 2024 06:08:41 -0700
Subject: [PATCH] For now remove msgid search from header when in /common or
/spoolnews until a clean way to handle it is written.
---
Rocksolid_Light/common/header.php | 28 +++++++++++++++++-----------
1 file changed, 17 insertions(+), 11 deletions(-)
diff --git a/Rocksolid_Light/common/header.php b/Rocksolid_Light/common/header.php
index 51b1a96..4bc5c23 100644
--- a/Rocksolid_Light/common/header.php
+++ b/Rocksolid_Light/common/header.php
@@ -93,7 +93,7 @@ echo '';
echo '';
echo '';
-include($config_dir.'/fortunes.conf');
+include ($config_dir . '/fortunes.conf');
// If $config_dir/motd.txt is not blank, show it
if (file_exists($config_dir . '/motd.txt')) {
@@ -120,22 +120,26 @@ foreach ($menulist as $menu) {
}
echo '
';
-if($OVERRIDES['disable_msgid_search'] != true) {
- echo '
';
+$config_name = basename(getcwd());
+
+if (!$OVERRIDES['disable_msgid_search']) {
+ if ($config_name != "common" && $config_name != 'spoolnews') {
+ echo '
';
+ }
}
echo '';
echo '';
@@ -189,5 +193,7 @@ function head_mail_db_open($database, $table = 'messages')
return ($dbh);
}
?>
+
+