]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Changes to prepare graphapplet plugin.
authoreldy <>
Sun, 9 Nov 2003 22:37:55 +0000 (22:37 +0000)
committereldy <>
Sun, 9 Nov 2003 22:37:55 +0000 (22:37 +0000)
tools/webmin/awstats/edit_config.cgi

index 8010eccb7ff4fb8332d5e77f7b56c83cf1a46d07..a02f13ec2a30493c4def51e85e2b9536e7728362 100644 (file)
@@ -453,6 +453,7 @@ if ($in{'advanced'} == 4) {
                        $value =~ s/#.*$//; 
                        $value =~ s/^[\s\'\"]+//g; $value =~ s/[\s\'\"]+$//g;
                        ($value1,$value2)=split(/\s/,$value,2);
+                       if ($value1 =~ /^graph3d$/i) { next; }
                        if (! $pluginlinefound{$value1}) {      # To avoid plugin to be shown twice
                                $pluginlinefound{$value1}=1;
                                push @pconfparam, $value1;
@@ -479,6 +480,7 @@ if ($in{'advanced'} == 4) {
                                $value =~ s/#.*$//; 
                                $value =~ s/^[\s\'\"]+//g; $value =~ s/[\s\'\"]+$//g;
                                ($value1,$value2)=split(/\s/,$value,2);
+                               if ($value1 =~ /^graph3d$/i) { next; }
                                if (! $pluginlinefound{$value1}) {      # To avoid plugin to be shown twice
                                        push @pconfparam, $value1;
                                        push @pconfactive, $active;