summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-05-19 05:46:29 +0100
committerAndrew Dolgov <[email protected]>2007-05-19 05:46:29 +0100
commit8d03971834c105112909753af12bbc066709165f (patch)
tree4a5d827d382329bf47bc57ed31a079b7e2e8975b /backend.php
parentc4b0f96c817a5177a0cd467a0576d428ec20ed12 (diff)
do not reference gettext modules if ENABLE_TRANSLATIONS is disabled
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 9b28f650e..3b5c071c4 100644
--- a/backend.php
+++ b/backend.php
@@ -20,7 +20,10 @@
require_once "functions.php";
no_cache_incantation();
- startup_gettext();
+
+ if (ENABLE_TRANSLATIONS == true) {
+ startup_gettext();
+ }
$script_started = getmicrotime();