diff index.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 ee5f98a0bc93
children
line wrap: on
line diff
--- a/index.php	Sun Jan 22 19:15:55 2023 +0100
+++ b/index.php	Sun Jan 22 19:22:00 2023 +0100
@@ -3,20 +3,20 @@
  * @file
  * Main access point for webpages
  */
-include_once 'constants.inc';
+include_once 'constants.inc.php';
 
-include_once 'CacheTimeCheck.inc';
+include_once 'CacheTimeCheck.inc.php';
 
 /// @cond
 $baseDir = dirname(__FILE__);
 $scriptCache = ScriptIncludeCache::instance(__FILE__);
 
-$scriptCache->includeOnce('Language.inc', $baseDir);
-$scriptCache->includeOnce('Options.inc', $baseDir);
-$scriptCache->includeOnce('common-functions.inc', $baseDir);
-$scriptCache->includeOnce('filters.inc', $baseDir);
-$scriptCache->includeOnce('InputParser.inc', $baseDir);
-$scriptCache->includeOnce('Logger.inc', $baseDir);
+$scriptCache->includeOnce('Language.inc.php', $baseDir);
+$scriptCache->includeOnce('Options.inc.php', $baseDir);
+$scriptCache->includeOnce('common-functions.inc.php', $baseDir);
+$scriptCache->includeOnce('filters.inc.php', $baseDir);
+$scriptCache->includeOnce('InputParser.inc.php', $baseDir);
+$scriptCache->includeOnce('Logger.inc.php', $baseDir);
 
 if (DEBUG_LEVEL >= VERBOSITY_DEBUG) {
   var_dump($_SERVER);