mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 03:04:09 +02:00
Fix up and tidy :)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9532 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
12
phpBB/includes/captcha/plugins/phpbb_captcha_nogd_plugin.php
Executable file → Normal file
12
phpBB/includes/captcha/plugins/phpbb_captcha_nogd_plugin.php
Executable file → Normal file
@@ -1,12 +1,13 @@
|
||||
<?
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package VC
|
||||
* @version $Id: $
|
||||
* @copyright (c) 2006 2008 phpBB Group
|
||||
* @version $Id$
|
||||
* @copyright (c) 2006, 2008 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
@@ -20,7 +21,7 @@ if (!defined('IN_PHPBB'))
|
||||
*/
|
||||
if (!class_exists('phpbb_default_captcha'))
|
||||
{
|
||||
include_once($phpbb_root_path . "includes/captcha/plugins/captcha_abstract." . $phpEx);
|
||||
include_once($phpbb_root_path . 'includes/captcha/plugins/captcha_abstract.' . $phpEx);
|
||||
}
|
||||
|
||||
class phpbb_captcha_nogd extends phpbb_default_captcha
|
||||
@@ -29,9 +30,10 @@ class phpbb_captcha_nogd extends phpbb_default_captcha
|
||||
function phpbb_captcha_nogd()
|
||||
{
|
||||
global $phpbb_root_path, $phpEx;
|
||||
|
||||
if (!class_exists('captcha'))
|
||||
{
|
||||
include_once($phpbb_root_path . "includes/captcha/captcha_non_gd." . $phpEx);
|
||||
include_once($phpbb_root_path . 'includes/captcha/captcha_non_gd.' . $phpEx);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user