From 6e251346675db00a889fc922ab7f270c1d9b66c9 Mon Sep 17 00:00:00 2001 From: John Poet Date: Sat, 13 Jul 2013 14:18:57 -0600 Subject: [PATCH] Fix mythweb "NoTrans" problem by moving "inclues/defines.php" before "includes/databases.php" in "includes/init.php" A big thank you to pmhahn@pmhahn.de for tracking down the problem and figuring out the fix. --- includes/init.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/init.php b/includes/init.php index 830223d8d..a0a981606 100644 --- a/includes/init.php +++ b/includes/init.php @@ -36,6 +36,9 @@ require_once 'includes/errors.php'; require_once 'includes/errordisplay.php'; +// Define some common stuff + require_once 'includes/defines.php'; + // Setup the database require_once 'includes/database.php'; @@ -45,9 +48,6 @@ // Load the session handler routines require_once 'includes/session.php'; -// Define some common stuff - require_once 'includes/defines.php'; - // Load the translation routines so the modules can translate their descriptions require_once 'includes/translate.php';