diff --git a/web/zm_html.php b/web/zm_html.php
index 62f805114..a0ac5e5c6 100644
--- a/web/zm_html.php
+++ b/web/zm_html.php
@@ -44,7 +44,6 @@ else
$user = $default_user;
}
-require_once( 'zm_lang.php' );
require_once( 'zm_funcs.php' );
if ( !isset($user) && ZM_OPT_USE_AUTH )
diff --git a/web/zm_html_config.php b/web/zm_html_config.php
index 280c75410..fe40d4608 100644
--- a/web/zm_html_config.php
+++ b/web/zm_html_config.php
@@ -19,6 +19,7 @@
//
require_once( 'zm_config.php' );
+require_once( 'zm_lang.php' );
$rates = array(
"10000" => "100x",
diff --git a/web/zm_xhtml.php b/web/zm_xhtml.php
index 22e6a7fdb..434c7264e 100644
--- a/web/zm_xhtml.php
+++ b/web/zm_xhtml.php
@@ -41,7 +41,6 @@ else
$user = $default_user;
}
-require_once( 'zm_lang.php' );
require_once( 'zm_funcs.php' );
noCacheHeaders();
diff --git a/web/zm_xhtml_config.php b/web/zm_xhtml_config.php
index 2c73795f9..c2efc192f 100644
--- a/web/zm_xhtml_config.php
+++ b/web/zm_xhtml_config.php
@@ -19,6 +19,7 @@
//
require_once( 'zm_config.php' );
+require_once( 'zm_lang.php' );
define( 'DEVICE_WIDTH', 150 ); // Default device width for phones and handhelds
define( 'DEVICE_HEIGHT', 150 ); // Default device height for phones and handhelds