[Openupload-svn-update] SF.net SVN: openupload:[31] trunk/lib/main.inc.php
Status: Beta
Brought to you by:
tsdogs
|
From: <ts...@us...> - 2008-10-17 18:21:56
|
Revision: 31
http://openupload.svn.sourceforge.net/openupload/?rev=31&view=rev
Author: tsdogs
Date: 2008-10-17 18:21:54 +0000 (Fri, 17 Oct 2008)
Log Message:
-----------
Fix language detection init order.
Modified Paths:
--------------
trunk/lib/main.inc.php
Modified: trunk/lib/main.inc.php
===================================================================
--- trunk/lib/main.inc.php 2008-10-17 18:12:38 UTC (rev 30)
+++ trunk/lib/main.inc.php 2008-10-17 18:21:54 UTC (rev 31)
@@ -68,11 +68,6 @@
$this->user->setInfo('lang',$_GET['lang']);
}
- $this->tr->init();
- $this->auth->init();
- $this->user->init();
-
-
/* configure the language */
if ($this->user->info('lang')=='') {
$lang = $this->getBrowserLang();
@@ -80,6 +75,10 @@
$this->user->setInfo('lang',$lang);
}
+ $this->tr->init();
+ $this->auth->init();
+ $this->user->init();
+
$this->config['modules'][]='files';
$this->config['modules'][]='admin';
$this->config['modules'][]='auth';
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|