]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/server_compare.php
replaced all shebangs in utility scripts with @PHP_BIN@, to be replaced with detected...
[nominatim.git] / utils / server_compare.php
index 70a92e9b589d5f38285faab7502ede56bee58077..0a27c484914fddb169b11dfe47184848d754bbc9 100755 (executable)
@@ -1,7 +1,7 @@
-#!/usr/bin/php -Cq
+#!@PHP_BIN@ -Cq
 <?php
 
-$sFile = "sample.log.txt"; // Apache log file
+$sFile = 'sample.log.txt'; // Apache log file
 $sHost1 = 'http://mq-open-search-lm02.ihost.aol.com:8000/nominatim/v1';
 $sHost2 = 'http://mq-open-search-lm03.ihost.aol.com:8000/nominatim/v1';
 
@@ -11,7 +11,7 @@ $sHost2Escaped = str_replace('/', '\\/', $sHost2);
 
 $aToDo = array(251, 293, 328, 399.1, 455.1, 479, 496, 499, 574, 609, 702, 790, 846, 865, 878, 894, 902, 961, 980);
 
-$hFile = @fopen($sFile, "r");
+$hFile = @fopen($sFile, 'r');
 if (!$hFile) {
     echo "Unable to open file: $sFile\n";
     exit;