FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » GLOBALS.php "cleanup"
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
GLOBALS.php "cleanup" [message #6756] Wed, 23 October 2002 15:20 Go to previous message
holstein   Canada
Messages: 9
Registered: August 2002
Location: Montreal
Karma:
Junior Member
Hello.

I've done some changes in the way the parameters are stored / retrieved in the GLOBALS.php configuration files.

Before my changes, the parameters where stored like :

$GLOBAL_VAR = "value";

With my changes, it is like :

$GLOBALS['GLOBAL_VAR'] = "value";

Why?

Because in trying to merge the login procedure for my site and for Fud forum, I could not, for whatever reason, read the data configured in the actual way : a scope probleme I guess, since I was not including the files in the same way Fud does. I found that if the variable are defined the way I did, everything works (and nothing breaks in fud).

I have joined my modified glob.inc? Since it does not break anything in fud (or, at least, nothing that I've seen), I thing it could be a good thing to merge it in because it simplify the kind of "merging operation" like I needed to do.

Any interest in seing how I merged the login? It does not feel very "clean" for me, but it's simple and it works (or, at least, it looks like it does, for now... Razz)

Thanks

Benoit
  • Attachment: glob.inc
    (Size: 3.23KB, Downloaded 979 times)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Avatar restriction?
Next Topic: install.php/upgrade.php build scripts?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 09:48:47 GMT 2024

Total time taken to generate the page: 0.04035 seconds