From 246ae0a6f3902c4b2f12823bee650521f333f6d1 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 27 Apr 2010 16:06:48 -0400 Subject: s/logs/configuration/ --- config/varnish64/varnish_view_config.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'config/varnish64/varnish_view_config.php') diff --git a/config/varnish64/varnish_view_config.php b/config/varnish64/varnish_view_config.php index 5a5421a7..a1aad915 100644 --- a/config/varnish64/varnish_view_config.php +++ b/config/varnish64/varnish_view_config.php @@ -38,10 +38,6 @@ if($_REQUEST['getactivity']) { exit; } -/* Defaults to this page but if no settings are present, redirect to setup page */ -if(!$config['installedpackages']['varnish']['config'][0]) - Header("Location: /pkg_edit.php?xml=varnish.xml&id=0"); - $pfSversion = str_replace("\n", "", file_get_contents("/etc/version")); if(strstr($pfSversion, "1.2")) $one_two = true; @@ -97,7 +93,7 @@ include("head.inc");

-
One moment please, loading Varnish logs...
+
One moment please, loading Varnish configuration...
-- cgit v1.2.3 From 5e885637287cd4b3f36e4f57a41e57075fabf3e2 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 27 Apr 2010 16:15:21 -0400 Subject: Show configuration in a textarea --- config/varnish64/varnish_view_config.php | 42 +++++--------------------------- 1 file changed, 6 insertions(+), 36 deletions(-) (limited to 'config/varnish64/varnish_view_config.php') diff --git a/config/varnish64/varnish_view_config.php b/config/varnish64/varnish_view_config.php index a1aad915..6c3bfcf0 100644 --- a/config/varnish64/varnish_view_config.php +++ b/config/varnish64/varnish_view_config.php @@ -31,13 +31,6 @@ require("guiconfig.inc"); -if($_REQUEST['getactivity']) { - $varnishlogs = `cat /var/etc/default.vcl`; - echo "Varnish Server configuration as of " . date("D M j G:i:s T Y") . "\n\n"; - echo $varnishlogs; - exit; -} - $pfSversion = str_replace("\n", "", file_get_contents("/etc/version")); if(strstr($pfSversion, "1.2")) $one_two = true; @@ -47,25 +40,6 @@ include("head.inc"); ?> - - @@ -91,19 +65,15 @@ include("head.inc"); -
-
-
One moment please, loading Varnish configuration...
-
+ - - -

- " /> -

- -- cgit v1.2.3