Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-8400 now.

$captcha->is_available() needs to include functions_install.php (fix completed in vcs)

can_load_dll() is declared in function_install.php which is not included by default.

Suggestion:
Code: Select all
    function is_available()
    {
        global $phpbb_root_path, $phpEx;

        if (@extension_loaded('gd'))
        {
            return true;
        }

        if (!function_exists('can_load_dll'))
        {
            include($phpbb_root_path . 'includes/functions_install.' . $phpEx);
        }

        return can_load_dll('gd');
    } 

Comments / History

Edited ticket

Action performed by bantu (3.0 Release Manager) on Jun 12th 2009, 15:27

Assigned ticket to user "Kellanved"

Action performed by bantu (3.0 Release Manager) on Jun 12th 2009, 15:27

Changed ticket status from "New" to "Reviewed"

Action performed by Kellanved (Former Team Member) on Jun 12th 2009, 15:29

Assigned ticket to user "bantu"

Action performed by Kellanved (Former Team Member) on Jun 14th 2009, 15:48

Posted by Kellanved (Former Team Member) on Jun 14th 2009, 15:48

Go ahead ;)

Changed ticket status from "Reviewed" to "Fix in progress"

Action performed by bantu (3.0 Release Manager) on Jun 14th 2009, 23:35

Linked ticket with changeset: r9595

Action performed by bantu (3.0 Release Manager) on Jun 15th 2009, 11:21

Changed ticket status from "Fix in progress" to "Fix completed in SVN"

Action performed by bantu (3.0 Release Manager) on Jun 15th 2009, 11:21

Ticket details

Related SVN changesets