Skip to content

Commit 6e25134

Browse files
committed
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.
1 parent f975296 commit 6e25134

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

includes/init.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
require_once 'includes/errors.php';
3737
require_once 'includes/errordisplay.php';
3838

39+
// Define some common stuff
40+
require_once 'includes/defines.php';
41+
3942
// Setup the database
4043
require_once 'includes/database.php';
4144

@@ -45,9 +48,6 @@
4548
// Load the session handler routines
4649
require_once 'includes/session.php';
4750

48-
// Define some common stuff
49-
require_once 'includes/defines.php';
50-
5151
// Load the translation routines so the modules can translate their descriptions
5252
require_once 'includes/translate.php';
5353

0 commit comments

Comments
 (0)