[geeklog-cvs] geeklog: Include the language file first, then check for $LANG_D...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Thu May 13 10:42:15 EDT 2010


changeset 7930:596b4f50db12
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/596b4f50db12
user: Dirk Haun <dirk at haun-online.de>
date: Thu May 13 15:51:24 2010 +0200
description:
Include the language file first, then check for $LANG_DIRECTION (cf. bug #0000871)

diffstat:

 public_html/admin/install/lib-install.php |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r 2840c09a8d90 -r 596b4f50db12 public_html/admin/install/lib-install.php
--- a/public_html/admin/install/lib-install.php	Thu May 13 15:47:36 2010 +0200
+++ b/public_html/admin/install/lib-install.php	Thu May 13 15:51:24 2010 +0200
@@ -76,6 +76,10 @@
     date_default_timezone_set($system_timezone);
 }
 
+$language = INST_getLanguage();
+// Include the language file
+require_once 'language/' . $language . '.php'; 
+
 if (empty($LANG_DIRECTION)) {
     $LANG_DIRECTION = 'ltr';
 }
@@ -87,10 +91,6 @@
     $perms_label_dir = 'perms-label-left';
 }
 
-$language = INST_getLanguage();
-// Include the language file
-require_once 'language/' . $language . '.php'; 
-
 // Before we begin, check if an uploaded file exceeds PHP's post_max_size
 if (isset($_SERVER['CONTENT_LENGTH'])) {
 



More information about the geeklog-cvs mailing list