http://www.mediawiki.org/wiki/Special:Code/MediaWiki/62003

Revision: 62003
Author:   simetrical
Date:     2010-02-05 02:12:01 +0000 (Fri, 05 Feb 2010)

Log Message:
-----------
Use HTML instead of EOT to delimit heredocs

This makes vim highlight the fragment as HTML.

Modified Paths:
--------------
    trunk/phase3/config/Installer.php

Modified: trunk/phase3/config/Installer.php
===================================================================
--- trunk/phase3/config/Installer.php   2010-02-04 23:54:37 UTC (rev 62002)
+++ trunk/phase3/config/Installer.php   2010-02-05 02:12:01 UTC (rev 62003)
@@ -1736,7 +1736,7 @@
 function writeSuccessMessage() {
  $script = defined('MW_INSTALL_PHP5_EXT') ? 'index.php5' : 'index.php';
        if ( wfIniGetBool( 'safe_mode' ) && !ini_get( 'open_basedir' ) ) {
-               echo <<<EOT
+               echo <<<HTML
 <div class="success-box">
 <p>Installation successful!</p>
 <p>To complete the installation, please do the following:
@@ -1751,9 +1751,9 @@
 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.</p>
 </div>
-EOT;
+HTML;
        } else {
-               echo <<<EOT
+               echo <<<HTML
 <div class="success-box">
 <p>
 <span class="success-message">Installation successful!</span>
@@ -1762,7 +1762,7 @@
 <p>You should change file permissions for <tt>LocalSettings.php</tt> as 
required to
 prevent other users on the server reading passwords and altering configuration 
data.</p>
 </div>
-EOT;
+HTML;
        }
 }
 



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to