data and attachment directories need trailing slash. If we don't require it,
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 22 Jul 2006 17:28:53 +0000 (17:28 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 22 Jul 2006 17:28:53 +0000 (17:28 +0000)
code that uses $data_dir or $attachment_dir will need extra checks

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11425 7612ce4b-ef26-0410-bec9-ea0150e637f0

config/config_default.php

index 915322565820db09905243590049cedddf229aa9..a5aaed212b62f6dc9c42a9c1d90eb36c35e6a5d9 100644 (file)
@@ -474,7 +474,7 @@ $noselect_fix_enable = false;
  *
  * @global string $data_dir
  */
-$data_dir = '/var/local/squirrelmail/data';
+$data_dir = '/var/local/squirrelmail/data/';
 
 /**
  * Attachments directory
@@ -493,7 +493,7 @@ $data_dir = '/var/local/squirrelmail/data';
  *    + It should probably be another directory than data_dir.
  * @global string $attachment_dir
  */
-$attachment_dir = '/var/local/squirrelmail/attach';
+$attachment_dir = '/var/local/squirrelmail/attach/';
 
 /**
  * Hash level used for data directory.