mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
Some fixes and improvements.
#11817 #11851 #11801 #11461 git-svn-id: file:///svn/phpbb/trunk@7692 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -2405,4 +2405,11 @@ function relative_base($path, $is_relative = true, $line = false, $file = false)
|
||||
return $convert->options['forum_path'] . '/' . $path;
|
||||
}
|
||||
|
||||
function get_smiley_display()
|
||||
{
|
||||
static $smiley_count = 0;
|
||||
$smiley_count++;
|
||||
return ($smiley_count < 50) ? 1 : 0;
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user