Explorar el Código

data and attachment directories need trailing slash. If we don't require it,
code that uses $data_dir or $attachment_dir will need extra checks

tokul hace 19 años
padre
commit
2cc7836c6a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      config/config_default.php

+ 2 - 2
config/config_default.php

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