mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02:00
Fix failure to work at all ... need to introduce error handling for failure to match entered email address
git-svn-id: file:///svn/phpbb/trunk@4948 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -31,6 +31,7 @@ define('IN_PHPBB', 1);
|
|||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
require('pagestart.' . $phpEx);
|
require('pagestart.' . $phpEx);
|
||||||
|
include($phpbb_root_path . 'includes/functions_user.'.$phpEx);
|
||||||
|
|
||||||
// Do we have ban permissions?
|
// Do we have ban permissions?
|
||||||
if (!$auth->acl_get('a_ban'))
|
if (!$auth->acl_get('a_ban'))
|
||||||
@@ -265,7 +266,7 @@ function display_details(option)
|
|||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if ($banned_options != '')
|
if ($banned_options)
|
||||||
{
|
{
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user