Support Joomla!

1.5 Template Project

The Joomla! Documentation Working Group is running a project to develop detailed reference and tutorial material on Joomla! 1.5 templates.  There is a project page on the documentation wiki where you can see the work in progress and help us by contributing your knowledge.

Who's Online

We have 68 guests online

Help Site License

The Joomla! Help Site content is copyright © 2005 - 2008 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution NonCommercial ShareAlike 2.5. Some parts of this website may be subject to other licenses.
Home arrow FAQs

What is php defined( '_VALID_MOS' ) or die( 'Restricted access' )?
Author(s):Mcsmom
Experience level:Beginner
Contributors:Joomla! version:1.0
Date added:Sunday, 25 March 2007Date last changed:Sunday, 25 March 2007
 
Most php files within Joomla! begin with the following statement:



This statement checks to see if the file is being called from within a Joomla! session. This protects your site by making it more difficult for a cracker/hacker to damage your site.

However, this line should NOT be included in your main index.php file, since this is the program that starts the Joomla! session.
Last Updated Sunday, 25 March 2007
Tags
< Prev   Next >

Powered by EasyFAQ © 2006 Joomla-addons.org