Re: A question on the term CFG.

From: Date: Sun, 07 Aug 2005 21:14:02 +0000
Subject: Re: A question on the term CFG.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-220187@lists.php.net to get a copy of this message
wayne wrote:
First, I'm new to PHP. I have a script that has a piece of code that looks like this - require_once($CFG->wwwroot . '/lib/mylib.php'); My question is this, I'm trying to find out how the class $CGF was initiated.There are no include or require statement before the statement. Is $CFG a global variable? If how does it get initiated? Tnaks.
you already had a couple of really good tips on finding the relevanty class - regarding 'CFG' Ill bet the guy that wrote it meant 'config', thats often shorten to 'cfg' or 'conf' - programmers like to type a little as possible :-)

« previous php.general (#220187) next »