aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-09-22 17:51:43 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-09-22 17:51:43 +0000
commitaa9dbcec3c95efda6b3087c4bc6a48a0cef48774 (patch)
tree55da5b5b2da384919b8f315bbb54c1dd002e0de4 /phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php
parent08428f8fa133c43c05066ff0e307abe01d943fa0 (diff)
downloadforums-aa9dbcec3c95efda6b3087c4bc6a48a0cef48774.tar
forums-aa9dbcec3c95efda6b3087c4bc6a48a0cef48774.tar.gz
forums-aa9dbcec3c95efda6b3087c4bc6a48a0cef48774.tar.bz2
forums-aa9dbcec3c95efda6b3087c4bc6a48a0cef48774.tar.xz
forums-aa9dbcec3c95efda6b3087c4bc6a48a0cef48774.zip
short php open tags should not be used. :) A lot of users (including myself) do not allow them.
git-svn-id: file:///svn/phpbb/trunk@8907 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php')
-rw-r--r--phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php21
1 files changed, 11 insertions, 10 deletions
diff --git a/phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php b/phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php
index e4f0bff87e..d3f8634834 100644
--- a/phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php
+++ b/phpBB/includes/captcha/plugins/phpbb_captcha_gd_plugin.php
@@ -1,8 +1,8 @@
-<?
+<?php
/**
*
* @package VC
-* @version $Id: $
+* @version $Id$
* @copyright (c) 2006 2008 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
@@ -15,19 +15,19 @@ if (!defined('IN_PHPBB'))
exit;
}
-/**
+/**
* Placeholder for autoload
*/
-include_once(PHPBB_ROOT_PATH . "includes/captcha/plugins/captcha_abstract." . PHP_EXT);
+include_once(PHPBB_ROOT_PATH . 'includes/captcha/plugins/captcha_abstract.' . PHP_EXT);
class phpbb_captcha_gd extends phpbb_default_captcha implements phpbb_captcha_plugin
{
function __construct()
{
- include_once(PHPBB_ROOT_PATH . "includes/captcha/captcha_gd." . PHP_EXT);
+ include_once(PHPBB_ROOT_PATH . 'includes/captcha/captcha_gd.' . PHP_EXT);
}
-
+
public static function get_instance()
{
return new phpbb_captcha_gd();
@@ -37,21 +37,21 @@ class phpbb_captcha_gd extends phpbb_default_captcha implements phpbb_captcha_pl
{
return (@extension_loaded('gd') || can_load_dll('gd'));
}
-
+
static function get_name()
{
return 'CAPTCHA_GD';
}
-
+
static function get_class_name()
{
return 'phpbb_captcha_gd';
}
-
+
function acp_page($id, &$module)
{
global $config, $db, $template, $user;
-
+
$captcha_vars = array(
'captcha_gd_x_grid' => 'CAPTCHA_GD_X_GRID',
'captcha_gd_y_grid' => 'CAPTCHA_GD_Y_GRID',
@@ -99,3 +99,4 @@ class phpbb_captcha_gd extends phpbb_default_captcha implements phpbb_captcha_pl
}
}
+?> \ No newline at end of file