salman_ahad@yahoo.com Posted November 27, 2009 Share Posted November 27, 2009 define('IN_PHPBB', true); Quote Link to comment Share on other sites More sharing options...
Cosizzle Posted November 27, 2009 Share Posted November 27, 2009 It defines that IN_PHPBB is set to true. Think of it as a constant. You could later go if (IN_PHPBB == true) { // do something } Quote Link to comment Share on other sites More sharing options...
trq Posted November 27, 2009 Share Posted November 27, 2009 define('IN_PHPBB', true); All functions are described in detail in the manual. The manual even has a cool trick where you can type http://php.net/functionname and it will take you directly to the page for that function. eg; http://php.net/define Quote Link to comment Share on other sites More sharing options...
salathe Posted November 27, 2009 Share Posted November 27, 2009 [ot] It's not just function names that can be access with a "shortcut": other things that can be accessed are classes, "book" sections, control structures, etc.. More details are listed at http://php.net/urlhowto [/ot] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.