From 37237a8227c48b3eea90dcff4738384465980aca Mon Sep 17 00:00:00 2001 From: donncha Date: Tue, 20 Jun 2006 16:02:56 +0000 Subject: Installs into directories not root should work better now. git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@583 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- index.php | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 31a1493..8febda3 100644 --- a/index.php +++ b/index.php @@ -105,7 +105,7 @@ function filestats( $err ) { } -function do_htaccess( $oldfilename, $newfilename, $realpath, $base, $url ) +function do_htaccess( $oldfilename, $newfilename, $base, $url ) { // remove ending slash from $base and $url $htaccess = ''; @@ -146,7 +146,7 @@ function do_htaccess( $oldfilename, $newfilename, $realpath, $base, $url ) if( $err != '' ) { print "

Warning!

"; - print "

There was a problem creating the .htaccess file in $realpath.

"; + print "

There was a problem creating the .htaccess file.

"; print "

Error: "; if( $err == "could not open $newfilename for writing" ) { print "Could Not Write To $newfilename."; @@ -162,7 +162,7 @@ function do_htaccess( $oldfilename, $newfilename, $realpath, $base, $url ) print "

If you use Cpanel then read this post. Cpanel creates files that I need to overwrite and you have to fix that.

"; print "

If all else fails then you'll have to create it by hand:"; print "