summaryrefslogtreecommitdiffstats
path: root/lib/init.php
diff options
context:
space:
mode:
authormomo-i <momo-i@ampache>2008-08-26 22:08:13 +0000
committermomo-i <momo-i@ampache>2008-08-26 22:08:13 +0000
commitc3a0f470271cae98883d137c8d1ed10a9ed9d7f6 (patch)
tree96fbc29e03c25e49836824684f80942dfa7fc0a9 /lib/init.php
parentf54f17453d160932781295632587ef7490136e77 (diff)
downloadampache-c3a0f470271cae98883d137c8d1ed10a9ed9d7f6.tar.gz
ampache-c3a0f470271cae98883d137c8d1ed10a9ed9d7f6.tar.bz2
ampache-c3a0f470271cae98883d137c8d1ed10a9ed9d7f6.zip
if can't use gettext, emulate gettext(). update some templates.
Diffstat (limited to 'lib/init.php')
-rw-r--r--lib/init.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/init.php b/lib/init.php
index 8eba95c8..7b6d62ca 100644
--- a/lib/init.php
+++ b/lib/init.php
@@ -44,6 +44,10 @@ $configfile = "$prefix/config/ampache.cfg.php";
require_once $prefix . '/lib/general.lib.php';
require_once $prefix . '/lib/class/config.class.php';
+if (!function_exists('gettext')) {
+ require_once $prefix . '/modules/emulater/gettext.php';
+}
+
// Define some base level config options
Config::set('prefix',$prefix);