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') 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