Merge pull request #441 from mtmail/update-php-to-check-for-correct-js-file

update.php was checking for static file which is no longer part of the project
This commit is contained in:
Sarah Hoffmann
2016-04-26 21:03:58 +02:00

View File

@@ -656,7 +656,7 @@
@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";