summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-03-05 10:24:13 +0100
committerAndrew Dolgov <[email protected]>2007-03-05 10:24:13 +0100
commitcc17c20574dbc0d2756bd6f75ca68588867eac25 (patch)
treeb9c3573f61073e487421b28b0cb648d084ad9bba /functions.php
parent1025ad87633f30d00a3c283b3e8ad2bafa384a5c (diff)
more I18N work, new option: ENABLE_TRANSLATIONS
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index f7a0cc54d..7554ad9ba 100644
--- a/functions.php
+++ b/functions.php
@@ -9,9 +9,12 @@
require_once "accept-to-gettext.php";
require_once "gettext/gettext.inc";
- startup_gettext();
-
require_once 'config.php';
+
+ if (ENABLE_TRANSLATIONS == true) {
+ startup_gettext();
+ }
+
require_once 'db-prefs.php';
require_once 'compat.php';
require_once 'errors.php';