Re: Discussion of method -- config files

From: Date: Thu, 19 Jun 2008 15:37:23 +0000
Subject: Re: Discussion of method -- config files
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-275610@lists.php.net to get a copy of this message
Well, after reaching this $GLOBALS['live']['current']['c']['modules']['traffics']['url'] = 'blah'; I change my mind to use public static variables. using conf::$vars (or someting like that) was more pratic than using $GLOBALS directly. You can set config each of your classes. Regards Sancar

« previous php.general (#275610) next »