1
I will admit, I am a noob when it comes to PHP, but I'm picking up speed very quickly.
I just have one question....I've been looking at some of the XOOPS source code just trying to get a feel for the syntax of PHP and I have noticed that there are alot of constants defined "somewhere".
As an example, I was poking around in the "common.php" file and saw this:
if (!defined("XOOPS_MAINFILE_INCLUDED")) {
exit();
} else {
// rest of code goes here
}
Mainly what I want to know is, where is XOOPS_MAINFILE_INCLUDED defined?
Also, as an alternate question....Is there any source of info out there about the XOOPS API and how all the files are related?
Thanks for the help fellas!