From: Aryeh Gregor Date: Fri, 5 Feb 2010 02:12:01 +0000 (+0000) Subject: Use HTML instead of EOT to delimit heredocs X-Git-Tag: 1.31.0-rc.0~37927 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=e49286a8975cf54efe95215c7231550331c67195;p=lhc%2Fweb%2Fwiklou.git Use HTML instead of EOT to delimit heredocs This makes vim highlight the fragment as HTML. --- 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; } }