aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/phpbb/captcha/gd.php4
-rw-r--r--phpBB/phpbb/captcha/non_gd.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/captcha/gd.php b/phpBB/phpbb/captcha/gd.php
index 682022c8ed..99c279b55d 100644
--- a/phpBB/phpbb/captcha/gd.php
+++ b/phpBB/phpbb/captcha/gd.php
@@ -1862,7 +1862,7 @@ class char_cube3d
/**
*/
- function char_cube3d(&$bitmaps, $letter)
+ function __construct(&$bitmaps, $letter)
{
$this->bitmap = $bitmaps['data'][$letter];
$this->bitmap_width = $bitmaps['width'];
@@ -2119,7 +2119,7 @@ class colour_manager
/**
* Create the colour manager, link it to the image resource
*/
- function colour_manager($img, $background = false, $mode = 'ahsv')
+ function __construct($img, $background = false, $mode = 'ahsv')
{
$this->img = $img;
$this->mode = $mode;
diff --git a/phpBB/phpbb/captcha/non_gd.php b/phpBB/phpbb/captcha/non_gd.php
index 0a7aeb0e6c..3818672f17 100644
--- a/phpBB/phpbb/captcha/non_gd.php
+++ b/phpBB/phpbb/captcha/non_gd.php
@@ -26,7 +26,7 @@ class non_gd
/**
* Define filtered pngs on init
*/
- function captcha()
+ function __construct()
{
// If we can we will generate a single filtered png, we avoid nastiness via emulation of some Zlib stuff
$this->define_filtered_pngs();