From 243a43ff1f4584ddc0d9b86d65f3da6c3dde91d4 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 21 Jan 2011 14:37:00 +0000 Subject: [PATCH] (bug 26288) $wgDeletedDirectory looks funny on Windows because / should be \ although / is harmless. --- includes/installer/WebInstallerPage.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/includes/installer/WebInstallerPage.php b/includes/installer/WebInstallerPage.php index 0e2b08954d..6f968fba5d 100644 --- a/includes/installer/WebInstallerPage.php +++ b/includes/installer/WebInstallerPage.php @@ -809,6 +809,14 @@ class WebInstaller_Options extends WebInstallerPage { $this->addHTML( $extHtml ); } + // Having / in paths in Windows looks funny :) + $this->setVar( 'wgDeletedDirectory', + str_replace( + '/', DIRECTORY_SEPARATOR, + $this->getVar( 'wgDeletedDirectory' ) + ) + ); + $this->addHTML( # Uploading $this->getFieldSetStart( 'config-upload-settings' ) . -- 2.20.1