Re: Anyone on the list using Moodle?
| From: | wayne | Date: | Wed, 17 Aug 2005 08:38:40 +0000 |
| Subject: | Re: Anyone on the list using Moodle? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-220733@lists.php.net to get a copy of this message | ||
On Tue, 2005-08-16 at 17:41 -0400, wayne wrote:
> Hi,
> Before I post some of the install script for
> Moodle I thought that I would ask how
> $CFG gets instantiated in the install.php script.
> Thanks.
>
Attach is the first 85 line of the moodle install
script.What I would like to know is, if I put
some code like this after the use of $CFG->
$default_classes = get_declared_classes ();
print "<br>" . "THE BEGINNING = ";
foreach ($default_classes as $class_name)
print 'the class is ==' . $class_name . '<br />';
shouldn't I see the class that $CFG was instantiated
from?
Thanks.
Attachment: [application/x-php] wayne
Attachment: [application/x-php] wayne