From: Tim Starling Date: Mon, 19 Jul 2004 12:03:39 +0000 (+0000) Subject: fixed double-escaping of $conf->IP X-Git-Tag: 1.5.0alpha1~2640 X-Git-Url: http://git.cyclocoop.org/geomaker.php?a=commitdiff_plain;h=2d591fe3ca7e1fd526c43d17d898908aaa8996ab;p=lhc%2Fweb%2Fwiklou.git fixed double-escaping of $conf->IP --- diff --git a/config/index.php b/config/index.php index 813b5fe989..bd5040c87c 100644 --- a/config/index.php +++ b/config/index.php @@ -270,7 +270,6 @@ $conf->UseImageResize = $conf->HaveGD || $conf->ImageMagick; # $conf->IP = "/Users/brion/Sites/inplace"; chdir( ".." ); $conf->IP = getcwd(); -$conf->IP = preg_replace( "/\\\\/","\\\\\\\\",$conf->IP ); // For Windows, \ -> \\ chdir( "config" ); print "
  • Installation directory: " . htmlspecialchars( $conf->IP ) . "
  • \n";