include vs include_once

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9940 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof 2009-08-07 15:37:27 +00:00
parent 04263dfa31
commit bc8e507c64
3 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ if (!defined('IN_PHPBB'))
*/ */
if (!class_exists('captcha_abstract')) if (!class_exists('captcha_abstract'))
{ {
include_once($phpbb_root_path . 'includes/captcha/plugins/captcha_abstract.' . $phpEx); include($phpbb_root_path . 'includes/captcha/plugins/captcha_abstract.' . $phpEx);
} }
/** /**

View file

@ -21,7 +21,7 @@ if (!defined('IN_PHPBB'))
*/ */
if (!class_exists('phpbb_default_captcha')) 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);
} }
/** /**

View file

@ -19,7 +19,7 @@ if (!defined('IN_PHPBB'))
if (!class_exists('phpbb_default_captcha')) if (!class_exists('phpbb_default_captcha'))
{ {
// we need the classic captcha code for tracking solutions and attempts // we need the classic captcha code for tracking solutions and attempts
include_once($phpbb_root_path . 'includes/captcha/plugins/captcha_abstract.' . $phpEx); include($phpbb_root_path . 'includes/captcha/plugins/captcha_abstract.' . $phpEx);
} }
/** /**