summaryrefslogtreecommitdiff
path: root/lib/common.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-08-24 11:23:30 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-08-24 11:23:30 -0400
commit657ffa7deea6ee7c3c7f7f0566e4ad1d6fcedd14 (patch)
treebb627e4b83d495a40744028c0a0cf4c916d70c9b /lib/common.php
parent9f07921b45190b462e1a798622068e24ef31e124 (diff)
parent86ba7b13c2c48280fe371b81ffa14a8b387cd61b (diff)
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
Diffstat (limited to 'lib/common.php')
-rw-r--r--lib/common.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/common.php b/lib/common.php
index 6c4b856e0..72c093bf3 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -47,6 +47,9 @@ require_once('PEAR.php');
require_once('DB/DataObject.php');
require_once('DB/DataObject/Cast.php'); # for dates
+if (!function_exists('gettext')) {
+ require_once("php-gettext/gettext.inc");
+}
require_once(INSTALLDIR.'/lib/language.php');
// This gets included before the config file, so that admin code and plugins