Remove SM_PATH from prefs file path
authorindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 12 Sep 2002 18:15:40 +0000 (18:15 +0000)
committerindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 12 Sep 2002 18:15:40 +0000 (18:15 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3647 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/prefs.php

index b17e9c5e291abd2fd252ce48ef9236b39eaed425..bc534c346e55e33e1200c48d8e34e879e0ee63fe 100644 (file)
@@ -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)) {