#2726 Paths incorrectly altered by conf.pl

open
nobody
Options (155)
5
2010-06-26
2010-06-26
Andrew
No

Using Squirrelmail 1.4.20 with PHP 5.2.6 on an Apache server at Streamline.net.

I have defined
$data_dir = SM_PATH . '../../sm/data/';
in my config.php file. This follows the recommendation to remove the directory from the htdocs path. Streamline also recommend always using relative paths, as the absolute path can change. This works fine

Running conf.pl alters this to
'/home/fhlinux182/l/logicarchitect.co.uk/user/htdocs//sm/data/';
which is incorrect as the path is
'/home/fhlinux182/l/logicarchitect.co.uk/user/sm/data/';
but there is no need to alter it at all, as the relative path provided works and protects agains changes in the absolute path.

Discussion

  • Andrew
    Andrew
    2010-06-26

    I should have added that it does the same thing with the attachment directory.