|
@@ -13,8 +13,8 @@
|
|
define ('validate_php', true);
|
|
define ('validate_php', true);
|
|
|
|
|
|
session_start();
|
|
session_start();
|
|
- include ('../functions/i18n.php');
|
|
|
|
- include ('../functions/auth.php');
|
|
|
|
|
|
+ require_once('../functions/i18n.php');
|
|
|
|
+ require_once('../functions/auth.php');
|
|
|
|
|
|
is_logged_in();
|
|
is_logged_in();
|
|
|
|
|
|
@@ -103,13 +103,13 @@
|
|
// strings.php, so include them both here.
|
|
// strings.php, so include them both here.
|
|
// Include them down here instead of at the top so that all config
|
|
// Include them down here instead of at the top so that all config
|
|
// variables overwrite any passed in variables (for security)
|
|
// variables overwrite any passed in variables (for security)
|
|
- include ('../functions/strings.php');
|
|
|
|
- include ('../config/config.php');
|
|
|
|
- include ('../src/load_prefs.php');
|
|
|
|
- include ('../functions/page_header.php');
|
|
|
|
|
|
+ require_once('../functions/strings.php');
|
|
|
|
+ require_once('../config/config.php');
|
|
|
|
+ require_once('../src/load_prefs.php');
|
|
|
|
+ require_once('../functions/page_header.php');
|
|
|
|
|
|
// Set up the language
|
|
// Set up the language
|
|
// i18n.php was included by auth.php
|
|
// i18n.php was included by auth.php
|
|
global $username, $data_dir;
|
|
global $username, $data_dir;
|
|
set_up_language(getPref($data_dir, $username, 'language'));
|
|
set_up_language(getPref($data_dir, $username, 'language'));
|
|
-?>
|
|
|
|
|
|
+?>
|