You are here: Re: [PHP] A question on the term CFG. « PHP « IT news, forums, messages
Re: [PHP] A question on the term CFG.

Posted by Jochem Maas on 10/04/42 11:23

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 :-)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация