diff flag.php @ 134:b6b4a58c7625

Using .inc.php rather than just .inc for include files.
author Tom Fredrik Blenning <bfg@bfgconsult.no>
date Sun, 22 Jan 2023 19:22:00 +0100
parents 16c3ee204330
children
line wrap: on
line diff
--- a/flag.php	Sun Jan 22 19:15:55 2023 +0100
+++ b/flag.php	Sun Jan 22 19:22:00 2023 +0100
@@ -3,12 +3,12 @@
  * @file
  * Displays a flag, in an active or disabled state, depending on parameters
  */
-include_once 'constants.inc';
-include_once 'CacheTimeCheck.inc';
+include_once 'constants.inc.php';
+include_once 'CacheTimeCheck.inc.php';
 
 /// @cond
 $scriptCache = ScriptIncludeCache::instance(__FILE__);
-$scriptCache->includeOnce('Flag.inc');
+$scriptCache->includeOnce('Flag.inc.php');
 
 try {
   $flag = new Flag($scriptCache);