[Habbo]Global.PHP[DEV]

Status
Not open for further replies.

brsy

nah mang
May 12, 2011
1,530
272
What exactly is global.php, and how do I create one from scratch? I reviewed uber's global.php, and I don't understand it's use.
 

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
It's not a 'special' file, but it's typically used to start the environment by requiring files, instantiating classes, calling functions/methods, etc.

The file is called 'global.php' because on every file(classes don't count) suchas register.php index.php me.php, etc it is included/required, hence it's called global.
 

brsy

nah mang
May 12, 2011
1,530
272
Oh, I see. So how would I create one of these for my CMS? Or would I just have to use uber's for now?
 
Status
Not open for further replies.

Users who are viewing this thread

Top