From 6f225d1e0b7e7ec6dbf3f6cc044f015297883329 Mon Sep 17 00:00:00 2001 From: X! Date: Sat, 18 Jul 2009 18:06:30 +0000 Subject: [PATCH] If config/ directory is not executable, the command to make it executable now asks the user to cd to the correct directory --- RELEASE-NOTES | 2 ++ config/index.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d39ddb6bf4..912086d621 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -148,6 +148,8 @@ this. Was used when mwEmbed was going to be an extension. appears in dark green if bytes were added and dark red if bytes were removed. * Added FSRepo configuration properties thumbUrl and thumbDir, to allow the thumbnails to be stored in a separate location to the source images. +* If config/ directory is not executable, the command to make it executable + now asks the user to cd to the correct directory === Bug fixes in 1.16 === diff --git a/config/index.php b/config/index.php index 0e8ab0d5b4..d48f56aeb6 100644 --- a/config/index.php +++ b/config/index.php @@ -246,7 +246,7 @@ if( !is_writable( "." ) ) {

To make the directory writable on a Unix/Linux system:

-	cd /path/to/wiki
+	cd " . htmlspecialchars( dirname( dirname( __FILE__ ) ) ) . "
 	chmod a+w config
 	
-- 2.20.1