Index: trunk/phase3/maintenance/getSlaveServer.php |
— | — | @@ -0,0 +1,7 @@ |
| 2 | +<?php |
| 3 | + |
| 4 | +require_once( dirname(__FILE__).'/commandLine.inc' ); |
| 5 | +$i = $wgLoadBalancer->getReaderIndex(); |
| 6 | +print $wgDBservers[$i]['host'] . "\n"; |
| 7 | + |
| 8 | +?> |
Property changes on: trunk/phase3/maintenance/getSlaveServer.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 9 | + native |