diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-08-01 19:59:04 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-08-01 19:59:04 +0000 |
commit | 4d8f7cd8a527378afe49a0f40e6edfc8346be8c9 (patch) | |
tree | f7672212bd488d676e3d490466aabb2a2bc1569a /phpBB/includes/functions.php | |
parent | 21a6090308f033d86fda833668bfb932ea12e95b (diff) | |
download | forums-4d8f7cd8a527378afe49a0f40e6edfc8346be8c9.tar forums-4d8f7cd8a527378afe49a0f40e6edfc8346be8c9.tar.gz forums-4d8f7cd8a527378afe49a0f40e6edfc8346be8c9.tar.bz2 forums-4d8f7cd8a527378afe49a0f40e6edfc8346be8c9.tar.xz forums-4d8f7cd8a527378afe49a0f40e6edfc8346be8c9.zip |
User, IP and email banning admin functional
git-svn-id: file:///svn/phpbb/trunk@781 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index a5125c4913..02b5b25dee 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -276,7 +276,7 @@ function init_userprefs($userdata) if( !defined("TEMPLATE_CONFIG") ) { - message_die(CRITICAL_MESSAGE, "Couldn't open " . $board_config['default_template'] . " template config file"); + message_die(CRITICAL_ERROR, "Couldn't open " . $board_config['default_template'] . " template config file"); } } @@ -354,7 +354,7 @@ function decode_ip($int_ip) // function create_date($format, $gmepoch, $tz) { - return (gmdate($format, $gmepoch + (3600 * $tz))); + return (@gmdate($format, $gmepoch + (3600 * $tz))); } // @@ -362,7 +362,7 @@ function create_date($format, $gmepoch, $tz) // function get_gmt_ts() { - $time = time(); + $time = @time(); return($time); } |