From f671c0f3b1f6868f6ccdd2d40efd0b5fcbd1d18b Mon Sep 17 00:00:00 2001 From: saxmatt Date: Wed, 11 Feb 2004 21:59:18 +0000 Subject: [PATCH] Missing line? http://wordpress.org/support/2/2362 git-svn-id: http://svn.automattic.com/wordpress/trunk@865 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/install-config.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/install-config.php b/wp-admin/install-config.php index ad48dcd003..6f29451f29 100644 --- a/wp-admin/install-config.php +++ b/wp-admin/install-config.php @@ -6,7 +6,8 @@ if (file_exists('../wp-config.php')) if (!file_exists('../wp-config-sample.php')) die('Sorry, I need a wp-config-sample.php file to work from. Please re-upload this file from your WordPress installation.'); - +$configFile = file('../wp-config-sample.php'); + if (!is_writable('../')) die("Sorry, I can't write to the directory. You'll have to either change the permissions on your WordPress directory or create your wp-config.php manually."); $step = $HTTP_GET_VARS['step'];