我想集成一个登录脚本与PHPBB3。
我写了这段代码。
如果我注释这一行就可以了。
require 'forum/includes/functions.php';
你试过评论吗
if (!defined('IN_PHPBB'))
{
exit;
}
从require 'forum/includes/functions.php';
或者在include之前写这一行。
define('IN_PHPBB', true);
我想集成一个登录脚本与PHPBB3。
我写了这段代码。
如果我注释这一行就可以了。
require 'forum/includes/functions.php';
你试过评论吗
if (!defined('IN_PHPBB'))
{
exit;
}
从require 'forum/includes/functions.php';
或者在include之前写这一行。
define('IN_PHPBB', true);