[vhffs-dev] [1957] display something if "do" is misspelled or voluntary forged |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1957
Author: gradator
Date: 2012-01-27 20:17:56 +0100 (Fri, 27 Jan 2012)
Log Message:
-----------
display something if "do" is misspelled or voluntary forged
Modified Paths:
--------------
trunk/vhffs-panel/index.pl
trunk/vhffs-public/index.pl
Modified: trunk/vhffs-panel/index.pl
===================================================================
--- trunk/vhffs-panel/index.pl 2012-01-26 23:54:15 UTC (rev 1956)
+++ trunk/vhffs-panel/index.pl 2012-01-27 19:17:56 UTC (rev 1957)
@@ -395,6 +395,8 @@
} elsif( $do eq 'admintagindex' ) {
require Vhffs::Panel::Tag;
Vhffs::Panel::Tag::adminindex( $panel );
+ } else {
+ $panel->render('misc/message.tt', { message => gettext('CGI Error !') });
}
}
Modified: trunk/vhffs-public/index.pl
===================================================================
--- trunk/vhffs-public/index.pl 2012-01-26 23:54:15 UTC (rev 1956)
+++ trunk/vhffs-public/index.pl 2012-01-27 19:17:56 UTC (rev 1957)
@@ -84,6 +84,8 @@
Vhffs::Panel::Public::externnewgroupsrss( $panel );
} elsif( $do eq 'externstats' ) {
Vhffs::Panel::Public::externstats( $panel );
+ } else {
+ $panel->render('misc/message.tt', { message => gettext('CGI Error !') });
}
}