phpBB

Development Wiki

Difference between revisions of "IN PHPBB"

From phpBB Development Wiki

(New page: Define IN_PHPBB in user facing files using this syntax: <php>define('IN_PHPBB', true);</php> Check for IN_PHPBB in non-user facing files with this code: <php>if (!defined('IN_PHPBB')...)
 
m
Line 10: Line 10:
 
exit;
 
exit;
 
}</php>
 
}</php>
 +
 +
{{stub}}

Revision as of 16:02, 29 October 2008

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;
}
This article is a stub. You can help in improving Olympus Documentation by expanding it.