cvs: pres2 / messages.php
| From: | Jesus M. Castagnetto | Date: | Fri, 03 Jun 2005 03:14:12 +0000 |
| Subject: | cvs: pres2 / messages.php | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1144@lists.php.net to get a copy of this message | ||
jmcastagnetto Thu Jun 2 23:14:12 2005 EDT
Modified files:
/pres2 messages.php
Log:
Adding some interim code until someone changes config.php on talks.php.net
to support the localization configuration options (see config.php-dist)
http://cvs.php.net/diff.php/pres2/messages.php?r1=1.1&r2=1.2&ty=u
Index: pres2/messages.php
diff -u pres2/messages.php:1.1 pres2/messages.php:1.2
--- pres2/messages.php:1.1 Tue May 24 19:18:41 2005
+++ pres2/messages.php Thu Jun 2 23:14:11 2005
@@ -1,5 +1,11 @@
<?php
+// interim fix until someone changes the config.php on talks.php.net
+if (!defined('PRES_LOCALE')) { define('PRES2_LOCALE', 'en'); }
+if (!defined('PRES_LOCALEDIR')) { define('PRES2_LOCALEDIR',
'locale'); }
+if (!defined('PRES_USE_GETTEXT')) { define('PRES2_USE_GETTEXT', false); }
+// after config.php has been changed the lines above can be removed
+
// set locale and bindings if we are using gettext
if (PRES2_USE_GETTEXT && extension_loaded('gettext')) {
define('PRES2_GETTEXT_INIT', _init_gettext());