phpBB

Development Wiki

IN PHPBB

From phpBB Development Wiki

Revision as of 20:24, 28 October 2008 by 3di (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Define IN_PHPBB in user facing files using this syntax:

define('IN_PHPBB'true);


Check for IN_PHPBB in non-user facing files with this code:

if (!defined('IN_PHPBB'))
{
    exit;
}