]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge pull request #441 from mtmail/update-php-to-check-for-correct-js-file
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 26 Apr 2016 19:03:58 +0000 (21:03 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 26 Apr 2016 19:03:58 +0000 (21:03 +0200)
update.php was checking for static file which is no longer part of the project

utils/setup.php

index 4a20d5dc5df570286cc18f82b670ec0986337ad2..01402842e8bda9aa560a0709016ae07646c4f352 100755 (executable)
                @symlink(CONST_BasePath.'/website/css', $sTargetDir.'/css');
                echo "Symlinks created\n";
 
-               $sTestFile = @file_get_contents(CONST_Website_BaseURL.'js/tiles.js');
+               $sTestFile = @file_get_contents(CONST_Website_BaseURL.'js/nominatim-ui.js');
                if (!$sTestFile)
                {
                        echo "\nWARNING: Unable to access the website at ".CONST_Website_BaseURL."\n";