Index: trunk/tools/upload-scripts/thumb-handler.php |
— | — | @@ -185,7 +185,7 @@ |
186 | 186 | # Cache the file locally if this is a cache server |
187 | 187 | $uname = posix_uname(); |
188 | 188 | $server = $uname['nodename']; |
189 | | - if ( $server != 'amane.pmtpa.wmnet' && $server != 'storage1' ) { |
| 189 | + if ( !in_array($server, array('amane.pmtpa.wmnet', 'storage1', 'ms1', 'ms2')) ) { |
190 | 190 | $dest = pathFromUrl( $_SERVER['REQUEST_URI'] ); |
191 | 191 | if( $dest ) { |
192 | 192 | if ( strpos( $dest, '..' ) === false ) { |