miniBB Support Forums
|
Forums
|
Register
|
Reply
|
Search
|
Statistics
|
Manual
|
miniBB Support Forums
/
Master Class
/
what's the use of define('INCLUDED',1)
Anonymous
Guest
#1
|
Posted: 27 Oct 2007 15:17
i just want to know how this line of code is being used by the forum and what is its importance
Paul
CEO
#2
|
Posted: 29 Oct 2007 04:55
It is a
very important
line, and it should be included in any kind of module. It means the module it is contained in, can not be executed externally, but only through index.php where this variable is defined. For example if you type
http://www.minibb.com/forums/bb_func_vtopic.php
it will be not possible to execute it.
Anonymous
Guest
#3
|
Posted: 29 Oct 2007 09:24
that's genius.... makes a lot of sense..
thanks.. miniBB rocks
miniBB Support Forums
/
Master Class
/ what's the use of define('INCLUDED',1)
↑
Top
Your Reply
Short link for this topic:
?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.
Before posting, make sure your message is compliant with our
forum posting rules
. If not, it may be locked or deleted with no explanation.
News & Announcements
FAQ
How To
Bugs
The Other
Official Addons and Solutions
Custom Tutorials and Modifications
Master Class
Specific
Re-cycled
Suggestions
Testimonials
qwerty
Features
Requirements
Demo
Download
Showcase
Gallery of Arts
Compiler
Premium Extensions
Premium Support
License
Contacts
Enrich your miniBB-forums content,
creating public files storage with the
File Bank add-on
!