[geeklog-cvs] geeklog-1.3/public_html submit.php,1.66,1.67
vinny at iowaoutdoors.org
vinny at iowaoutdoors.org
Mon May 31 15:23:52 EDT 2004
Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv3971
Modified Files:
submit.php
Log Message:
Fixed hole in speed limit that would allow multiple submissions within speed
limit.
Index: submit.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/submit.php,v
retrieving revision 1.66
retrieving revision 1.67
diff -C2 -d -r1.66 -r1.67
*** submit.php 1 May 2004 17:57:04 -0000 1.66
--- submit.php 31 May 2004 19:23:48 -0000 1.67
***************
*** 459,462 ****
--- 459,476 ----
global $_CONF, $_TABLES, $_USER, $LANG12;
+ COM_clearSpeedlimit ($_CONF['speedlimit'], 'submit');
+
+ $last = COM_checkSpeedlimit ('submit');
+
+ if ($last > 0) {
+ $retval .= COM_startBlock ($LANG12[26], '',
+ COM_getBlockTemplate ('_msg_block', 'header'))
+ . $LANG12[30]
+ . $last
+ . $LANG12[31]
+ . COM_endBlock (COM_getBlockTemplate ('_msg_block', 'footer'));
+ return $retval;
+ }
+
switch ($type) {
case 'link':
More information about the geeklog-cvs
mailing list