diff options
author | plegall <plg@piwigo.org> | 2005-09-27 21:57:14 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2005-09-27 21:57:14 +0000 |
commit | 0c0ab6d700167e3a8c4f9734233ff70738b12e18 (patch) | |
tree | a157b099f09a79bdce02c1ca8e3af72bfff7624b /include/constants.php | |
parent | b7b05eafc360c258d0d711625051ad10a840613b (diff) |
- bug 168 fixed: crash when language file does not exists. Constant
PHPWG_DEFAULT_LANGUAGE added. New function get_language_filepath always
used to find language files.
git-svn-id: http://piwigo.org/svn/trunk@879 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/constants.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/constants.php b/include/constants.php index a04020d50..a7823b230 100644 --- a/include/constants.php +++ b/include/constants.php @@ -29,6 +29,7 @@ define('PHPWG_VERSION', '%PWGVERSION%'); define('PHPWG_URL', 'http://www.phpwebgallery.net'); define('PHPWG_FORUM_URL', 'http://forum.phpwebgallery.net'); +define('PHPWG_DEFAULT_LANGUAGE', 'en_UK.iso-8859-1'); // Error codes define('GENERAL_MESSAGE', 200); |