From e49286a8975cf54efe95215c7231550331c67195 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Fri, 5 Feb 2010 02:12:01 +0000 Subject: [PATCH] Use HTML instead of EOT to delimit heredocs This makes vim highlight the fragment as HTML. --- config/Installer.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/Installer.php b/config/Installer.php index dfcb794923..501621208b 100644 --- a/config/Installer.php +++ b/config/Installer.php @@ -1736,7 +1736,7 @@ window.onload = toggleDBarea( DBtype ); ?>, function writeSuccessMessage() { $script = defined('MW_INSTALL_PHP5_EXT') ? 'index.php5' : 'index.php'; if ( wfIniGetBool( 'safe_mode' ) && !ini_get( 'open_basedir' ) ) { - echo <<

Installation successful!

To complete the installation, please do the following: @@ -1751,9 +1751,9 @@ remotely. LocalSettings.php is currently owned by the user your webserver is run which means that anyone on the same server can read your database password! Downloading it and uploading it again will hopefully change the ownership to a user ID specific to you.

-EOT; +HTML; } else { - echo <<

Installation successful! @@ -1762,7 +1762,7 @@ Move the config/LocalSettings.php file to the parent directory, then fo

You should change file permissions for LocalSettings.php as required to prevent other users on the server reading passwords and altering configuration data.

-EOT; +HTML; } } -- 2.20.1