From f496485b5f78bfc67e463853ca18072b6a217c24 Mon Sep 17 00:00:00 2001 From: Ryan Wagoner Date: Sun, 18 Feb 2007 04:10:04 +0000 Subject: s/Viwer/Viewer --- packages/imspector/services_imspector_logs.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'packages/imspector') diff --git a/packages/imspector/services_imspector_logs.php b/packages/imspector/services_imspector_logs.php index 2c57ef18..dbfac494 100644 --- a/packages/imspector/services_imspector_logs.php +++ b/packages/imspector/services_imspector_logs.php @@ -34,6 +34,7 @@ require("guiconfig.inc"); /* variables */ $log_dir = '/var/log/imspector'; +$imspector_config = $config['installedpackages']['imspector']['config'][0]; $border_color = '#c0c0c0'; $default_bgcolor = '#eeeeee'; @@ -57,6 +58,7 @@ $convo_local_bgcolor = '#dddddd'; $convo_remote_bgcolor = '#eeeeee'; /* functions */ + function convert_dir_list ($topdir) { if (!is_dir($topdir)) return; if ($dh = opendir($topdir)) { @@ -128,8 +130,7 @@ if ($_POST['mode'] == "render") { exit; } /* defaults to this page but if no settings are present, redirect to setup page */ -if(!$config['installedpackages']['imspector']['config'][0]['iface_array'] || - !$config['installedpackages']['imspector']['config'][0]['enable']) +if(!$imspector_config["enable"] || !$imspector_config["iface_array"] || !$imspector_config["proto_array"]) Header("Location: /pkg_edit.php?xml=imspector.xml&id=0"); $pgtitle = "Services: IMSpector Log Viewer"; @@ -147,7 +148,7 @@ include("head.inc"); @@ -259,7 +260,7 @@ print($zz);
-
+
 
@@ -267,9 +268,9 @@ print($zz);
-
-
+
-- cgit v1.2.3