Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
Hi. in open source package moodle i came across "global $CFG" line of code in setup.php in config it is used as [CODE] $CFG->dbtype = 'mysql'; $CFG->dbhost = 'localhost'; ............ [/CODE] $CFG is global object but there is no class. it is behaving like an array. how there can be … |