Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: global.php 4151 2008-08-26 04:39:31Z Tikitiki $
| * $Id: global.php 4322 2009-02-21 23:00:49Z Tikitiki $
|
*/ $working_dir = dirname(__FILE__);
| */ $working_dir = dirname(__FILE__);
|
Zeile 505 | Zeile 505 |
---|
// Check banned ip addresses if(is_banned_ip($session->ipaddress, true)) {
|
// Check banned ip addresses if(is_banned_ip($session->ipaddress, true)) {
|
$db->delete_query("sessions", "ip='".$db->escape_string($session->ipaddress)."' OR uid='{$mybb->user['uid']}'");
| if ($mybb->user['uid']) { $db->delete_query("sessions", "ip='".$db->escape_string($session->ipaddress)."' OR uid='{$mybb->user['uid']}'"); } else { $db->delete_query("sessions", "ip='".$db->escape_string($session->ipaddress)."'"); }
|
error($lang->error_banned); }
| error($lang->error_banned); }
|