From 2a6a32ef32d7e6a5b2e5f31e796e43265d683273 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Wed, 11 Feb 2004 21:59:18 +0000 Subject: [PATCH] Missing line? http://wordpress.org/support/2/2362 git-svn-id: https://develop.svn.wordpress.org/trunk@865 602fd350-edb4-49c9-b593-d223f7449a82 --- 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'];