| 1 |
<? |
| 2 |
// --------------------------------------------------------------------------- |
| 3 |
// $Id: Site.php,v 1.5 2002/12/23 11:33:58 jonen Exp $ |
| 4 |
// --------------------------------------------------------------------------- |
| 5 |
// $Log: Site.php,v $ |
| 6 |
// --------------------------------------------------------------------------- |
| 7 |
|
| 8 |
|
| 9 |
/* |
| 10 |
|
| 11 |
How to use this? |
| 12 |
|
| 13 |
require_once("../etc/defaults.php"); |
| 14 |
require_once("../etc/includes.php"); |
| 15 |
|
| 16 |
$appConfig = mkObject('Application::Config'); |
| 17 |
print "appConfig:<br/>" . Dumper($appConfig) . "<hr/>"; |
| 18 |
|
| 19 |
*/ |
| 20 |
|
| 21 |
class Application_Config { |
| 22 |
function Application_Config($initCfg = array()) { |
| 23 |
print "Hello World!<hr/>"; |
| 24 |
print "initCfg:<br/>" . Dumper($initCfg) . "<hr/>"; |
| 25 |
} |
| 26 |
} |
| 27 |
|
| 28 |
?> |