From 16521111dd62031afbcbdadffe0f8f6929fb6056 Mon Sep 17 00:00:00 2001 From: andi Date: Mon, 23 May 2005 19:48:04 +0200 Subject: moved loading of languages to init.php - fixes #346 darcs-hash:20050523174804-9977f-a49e154bb89357d39eb8ddb3273650759cd74114.gz --- inc/init.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'inc') diff --git a/inc/init.php b/inc/init.php index af1d1eb9c..363518b65 100644 --- a/inc/init.php +++ b/inc/init.php @@ -21,6 +21,10 @@ global $lang; $lang = array(); + //load the language files + require_once(DOKU_INC.'lang/en/lang.php'); + require_once(DOKU_INC.'lang/'.$conf['lang'].'/lang.php'); + // define baseURL if(!defined('DOKU_BASE')) define('DOKU_BASE',getBaseURL()); if(!defined('DOKU_URL')) define('DOKU_URL',getBaseURL(true)); -- cgit v1.2.3