phpBB

Development Wiki

Difference between revisions of "IN PHPBB"

From phpBB Development Wiki

m
m
Line 1: Line 1:
 +
{{stub}}
 
Define IN_PHPBB in user facing files using this syntax:  
 
Define IN_PHPBB in user facing files using this syntax:  
  
Line 10: Line 11:
 
exit;
 
exit;
 
}</php>
 
}</php>
 
{{stub}}
 

Revision as of 16:02, 29 October 2008

This article is a stub. You can help in improving Olympus Documentation by expanding it.

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;
}