diff flag.php @ 129:16c3ee204330

Fixes flag.
author Tom Fredrik Blenning <bfg@bfgconsult.no>
date Wed, 28 Dec 2022 11:20:19 +0100
parents b9654b9c4a66
children b6b4a58c7625
line wrap: on
line diff
--- a/flag.php	Wed Dec 28 01:05:33 2022 +0100
+++ b/flag.php	Wed Dec 28 11:20:19 2022 +0100
@@ -3,8 +3,7 @@
  * @file
  * Displays a flag, in an active or disabled state, depending on parameters
  */
-define(DEBUG,0);
-
+include_once 'constants.inc';
 include_once 'CacheTimeCheck.inc';
 
 /// @cond
@@ -19,3 +18,4 @@
   errorPage($e, StatusCodes::HTTP_INTERNAL_SERVER_ERROR);
 }
 /// @endcond
+?>