From cc17c20574dbc0d2756bd6f75ca68588867eac25 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 5 Mar 2007 10:24:13 +0100 Subject: more I18N work, new option: ENABLE_TRANSLATIONS --- functions.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'functions.php') 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'; -- cgit v1.2.3-54-g00ecf