Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-8400

$captcha->is_available() needs to include functions_install.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.6
    • 3.0.x
    • Other
    • None
    • PHP Environment:
      Database:

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

      Suggestion:

          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');    } 

            bantu Andreas Fischer [X] (Inactive)
            bantu Andreas Fischer [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: