Converted all files in functions/ to use SM_PATH. This will break all
[squirrelmail.git] / functions / prefs.php
index 047e1de68d3cbad607e9053553ace507afee0e1a..bc534c346e55e33e1200c48d8e34e879e0ee63fe 100644 (file)
@@ -23,9 +23,9 @@ if ( !session_is_registered('prefs_are_cached') ||
 }
 
 if (isset($prefs_dsn) && !empty($prefs_dsn)) {
-    require_once('../functions/db_prefs.php');
+    require_once(SM_PATH . 'functions/db_prefs.php');
 } else {
-    require_once('../functions/file_prefs.php');
+    require_once(SM_PATH . 'functions/file_prefs.php');
 }
 
 /* Hashing functions */