浏览代码

Forgot a SM_PATH

Thijs Kinkhorst 22 年之前
父节点
当前提交
b9f6f4ca77
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      functions/auth.php

+ 1 - 1
functions/auth.php

@@ -49,7 +49,7 @@ function is_logged_in() {
         if (!sqsession_is_registered('session_expired_location')) {
            sqsession_register($session_expired_location,'session_expired_location');
         }
-        include_once( '../functions/display_messages.php' );
+        include_once( SM_PATH . 'functions/display_messages.php' );
         logout_error( _("You must be logged in to access this page.") );
         exit;
     }