Parcourir la source

Remove SM_PATH from prefs file path

indiri69 il y a 23 ans
Parent
commit
3631db4aff
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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);
 
     /* 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. */
     if ($hash_search && !@file_exists($result)) {