浏览代码

move global include earlier..

Erin Schnabel 22 年之前
父节点
当前提交
b65bc09a4a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/validate.php

+ 1 - 1
include/validate.php

@@ -39,6 +39,7 @@ $theme=array();
 
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'class/mime.class.php');
+require_once(SM_PATH . 'functions/global.php');
 require_once(SM_PATH . 'functions/strings.php');
 require_once(SM_PATH . 'config/config.php');
 
@@ -53,7 +54,6 @@ session_start();
 
 require_once(SM_PATH . 'functions/i18n.php');
 require_once(SM_PATH . 'functions/auth.php');
-require_once(SM_PATH . 'functions/global.php');
 
 is_logged_in();