Changeset 15837 for extensions/rv_akismet/main.inc.php
- Timestamp:
- Jun 19, 2012, 10:07:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rv_akismet/main.inc.php
r13799 r15837 42 42 include_once( dirname(__FILE__).'/check.inc.php' ); 43 43 $action = akismet_user_comment_check($action, $comment); 44 if (!isset($_SESSION['csi']) && isset($_POST['url']) && strlen($_POST['url']) )45 {46 $action = 'reject';47 $_POST['cr'][] = 'csi url';48 }49 44 return $action; 50 45 } … … 70 65 { 71 66 global $template, $conf; 72 if (!isset($_SESSION['csi']) && strpos( $_SERVER['HTTP_USER_AGENT'],'bot')===false)67 if (!isset($_SESSION['csi']) && strpos(@$_SERVER['HTTP_USER_AGENT'],'bot')===false) 73 68 { 74 69 $src = get_root_url().'plugins/'.AKIS_DIR.'/csi.php';
Note: See TracChangeset
for help on using the changeset viewer.