summaryrefslogtreecommitdiff
path: root/inc/init.php
diff options
context:
space:
mode:
authorhfuecks <hfuecks@gmail.com>2005-11-07 00:38:00 +0100
committerhfuecks <hfuecks@gmail.com>2005-11-07 00:38:00 +0100
commitfc1c55b1830fbbb13f99db0490df4f46e15dcd31 (patch)
treec95e7c3ca97b6afcbc7fbda6300808ff46b089d8 /inc/init.php
parent4add97cbe7c3aae97c8c54fc6a3bd7fae1de29a2 (diff)
downloadrpg-fc1c55b1830fbbb13f99db0490df4f46e15dcd31.tar.gz
rpg-fc1c55b1830fbbb13f99db0490df4f46e15dcd31.tar.bz2
get_tests_running_1
darcs-hash:20051106233800-e96b6-90328f1b6cc5c8b25c6e02f113cf80475789d297.gz
Diffstat (limited to 'inc/init.php')
-rw-r--r--inc/init.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/init.php b/inc/init.php
index f9e095533..fb02ab15d 100644
--- a/inc/init.php
+++ b/inc/init.php
@@ -26,7 +26,9 @@
//load the language files
require_once(DOKU_INC.'inc/lang/en/lang.php');
- require_once(DOKU_INC.'inc/lang/'.$conf['lang'].'/lang.php');
+ if ( defined($conf['lang']) ) {
+ require_once(DOKU_INC.'inc/lang/'.$conf['lang'].'/lang.php');
+ }
// define baseURL
if(!defined('DOKU_BASE')) define('DOKU_BASE',getBaseURL());