]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/DebugHtml.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / lib-php / DebugHtml.php
index 19221b435b2f14cdaca2459eabe8ea483f804f8e..5d12be678e4ac5ca95f981a63d067944ef6510a0 100644 (file)
@@ -1,4 +1,12 @@
 <?php
+/**
+ * SPDX-License-Identifier: GPL-2.0-only
+ *
+ * This file is part of Nominatim. (https://nominatim.org)
+ *
+ * Copyright (C) 2022 by the Nominatim developer community.
+ * For a full list of authors see the git log.
+ */
 
 namespace Nominatim;
 
@@ -127,7 +135,7 @@ class Debug
 
     public static function printSQL($sSQL)
     {
-        echo '<p><tt><font color="#aaa">'.$sSQL.'</font></tt></p>'."\n";
+        echo '<p><tt><b>'.date('c').'</b> <font color="#aaa">'.$sSQL.'</font></tt></p>'."\n";
     }
 
     private static function outputVar($mVar, $sPreNL)