diff options
author | matthew.gregg <matthew.gregg@gmail.com> | 2008-07-18 20:34:17 -0400 |
---|---|---|
committer | matthew.gregg <matthew.gregg@gmail.com> | 2008-07-18 20:34:17 -0400 |
commit | 6dd211530fea743dedf142ced4ccd6c87e5ed54b (patch) | |
tree | 6c5141f004fa266a12902d798f11ecacaff8c624 /lib/common.php | |
parent | faa3933fbb54d0fc4a12145bd0aefa899db30dea (diff) |
Patch for PITS 00032, 00033, 00034
darcs-hash:20080719003417-982e4-7004f8a4dfb447f941457c30b0b2289eee5582e6.gz
Diffstat (limited to 'lib/common.php')
-rw-r--r-- | lib/common.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/common.php b/lib/common.php index 518171249..04242432c 100644 --- a/lib/common.php +++ b/lib/common.php @@ -36,6 +36,8 @@ require_once('PEAR.php'); require_once('DB/DataObject.php'); require_once('DB/DataObject/Cast.php'); # for dates +require_once(INSTALLDIR.'/lib/language.php'); + // default configuration, overwritten in config.php $config = @@ -46,6 +48,9 @@ $config = 'path' => '/', 'logfile' => NULL, 'fancy' => false, + 'locale_path' => './locale', + 'language' => 'en_US', + 'languages' => get_all_languages(), 'email' => array_key_exists('SERVER_ADMIN', $_SERVER) ? $_SERVER['SERVER_ADMIN'] : NULL, 'broughtby' => NULL, |