diff options
author | neoraider <devnull@localhost> | 2006-03-05 01:01:01 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-03-05 01:01:01 +0100 |
commit | d8edab617c02409178e82a59ce704d7da5de6d9a (patch) | |
tree | 59a6f6fdc26dd908d69f730a418e6a303015c384 /config/config.inc.php | |
parent | b7cab9a930cf9ab53e5d11764cd560c7d9ef1632 (diff) | |
download | neon-d8edab617c02409178e82a59ce704d7da5de6d9a.tar neon-d8edab617c02409178e82a59ce704d7da5de6d9a.zip |
Anstatt der defined-Abfragen wird jetzt require_once benutzt.
Diffstat (limited to 'config/config.inc.php')
-rw-r--r-- | config/config.inc.php | 46 |
1 files changed, 21 insertions, 25 deletions
diff --git a/config/config.inc.php b/config/config.inc.php index b69ea2f..d12c7ba 100644 --- a/config/config.inc.php +++ b/config/config.inc.php @@ -1,27 +1,23 @@ <?PHP - if(!defined('CONFIG_INC')) { - define('CONFIG_INC', 1); - - // main options - - $config['language'] = 'de'; - $config['home'] = 'Home:Startseite'; - - - // database connection - - $config['driver'] = 'mysql'; - $config['server'] = 'localhost'; - - $config['user'] = 'gamezock'; - $config['password'] = 'thegzpass'; - - $config['db'] = 'gamezock-2'; - - - // page design - - $config['default_style'] = 'GreenGrid'; - $config['title'] = 'Neon - '; - } + // main options + + $GLOBALS['config']['language'] = 'de'; + $GLOBALS['config']['home'] = 'Home:Startseite'; + + + // database connection + + $GLOBALS['config']['driver'] = 'mysql'; + $GLOBALS['config']['server'] = 'localhost'; + + $GLOBALS['config']['user'] = 'gamezock'; + $GLOBALS['config']['password'] = 'thegzpass'; + + $GLOBALS['config']['db'] = 'gamezock-2'; + + + // page design + + $GLOBALS['config']['default_style'] = 'GreenGrid'; + $GLOBALS['config']['title'] = 'Neon - '; ?> |