r85400 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85399‎ | r85400 | r85401 >
Date:23:54, 4 April 2011
Author:reedy
Status:ok
Tags:
Comment:
Trim trailing / from PATH
Modified paths:
  • /trunk/tools/code-utils/check-vars.php (modified) (history)

Diff [purge]

Index: trunk/tools/code-utils/check-vars.php
@@ -10,6 +10,8 @@
1111 $IP = dirname( __FILE__ ) . "/../../phase3/";
1212 }
1313
 14+$IP = rtrim( $IP, "/" );
 15+
1416 require_once( "$IP/includes/Defines.php" ); # Faster than parsing
1517 require_once( "$IP/includes/AutoLoader.php" );
1618 $wgAutoloadClasses = &$wgAutoloadLocalClasses;

Status & tagging log