aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2009-06-04 13:30:01 +0000
committerChris Smith <toonarmy@phpbb.com>2009-06-04 13:30:01 +0000
commita975f8454aea77f1e42332b8fb52e66a77415e76 (patch)
treef077e5d1fa8d2d71eeeee2dd43d34de797a73553 /phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php
parent5478ef15d33eec696ded6a5402a329b77916597e (diff)
downloadforums-a975f8454aea77f1e42332b8fb52e66a77415e76.tar
forums-a975f8454aea77f1e42332b8fb52e66a77415e76.tar.gz
forums-a975f8454aea77f1e42332b8fb52e66a77415e76.tar.bz2
forums-a975f8454aea77f1e42332b8fb52e66a77415e76.tar.xz
forums-a975f8454aea77f1e42332b8fb52e66a77415e76.zip
Fix up and tidy :)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9532 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php')
-rw-r--r--[-rwxr-xr-x]phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php14
1 files changed, 8 insertions, 6 deletions
diff --git a/phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php b/phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php
index 850794e133..5b3c09f32d 100755..100644
--- a/phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php
+++ b/phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php
@@ -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,18 +21,18 @@ if (!defined('IN_PHPBB'))
*/
if (!class_exists('phpbb_default_captcha'))
{
- include_once($phpbb_root_path . "includes/captcha/plugins/captcha_abstract." . $phpEx);
+ include($phpbb_root_path . 'includes/captcha/plugins/captcha_abstract.' . $phpEx);
}
class phpbb_captcha_gd extends phpbb_default_captcha
{
-
function phpbb_captcha_gd()
{
global $phpbb_root_path, $phpEx;
+
if (!class_exists('captcha'))
{
- include_once($phpbb_root_path . "includes/captcha/captcha_gd." . $phpEx);
+ include($phpbb_root_path . 'includes/captcha/captcha_gd.' . $phpEx);
}
}
@@ -120,3 +121,4 @@ class phpbb_captcha_gd extends phpbb_default_captcha
}
}
+?> \ No newline at end of file