From: Luke E. <leh...@cs...> - 2000-01-25 15:24:05
|
Great work! Thank you for doing that. It definately needed done. (: Luke ______________________________________________________________________ Luke Ehresman | "Linux - because where I want leh...@cs... | to go today, Microsoft can't http://www.css.tayloru.edu/~lehresma | take me." On Tue, 25 Jan 2000, Gustav Foseid wrote: > I see in some functions that include config.php from inside functions (i > did this myself in mye functions). The result is something like: > > function doit () { > include "config.php"; > > ... do something .. > } > > I have now started to change this into > > function doit () { > global $config, $variables, $that, $i, $use; > > ... do something .. > } > > I have also changed (in a few places) > > function doit($user, $domain) { > ... do something ... > } > > to > > function doit() { > global $user, $domain; > > ... do something ... > } > > -- > Gustav Foseid, Initio IT-løsninger AS > gu...@in... > |