瀏覽代碼

Remove SM_PATH from prefs file path

indiri69 23 年之前
父節點
當前提交
3631db4aff
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      functions/prefs.php

+ 1 - 1
functions/prefs.php

@@ -45,7 +45,7 @@ function getHashedFile($username, $dir, $datafile, $hash_search = true) {
     $real_hash_dir = getHashedDir($username, $dir, $hash_dirs);
     $real_hash_dir = getHashedDir($username, $dir, $hash_dirs);
 
 
     /* Set the value of our real data file. */
     /* Set the value of our real data file. */
-    $result = SM_PATH . "$real_hash_dir/$datafile";
+    $result = "$real_hash_dir/$datafile";
 
 
     /* Check for this file in the real hash directory. */
     /* Check for this file in the real hash directory. */
     if ($hash_search && !@file_exists($result)) {
     if ($hash_search && !@file_exists($result)) {