--- a/end_page.php3
+++ b/end_page.php3
@@ -27,8 +27,8 @@
 enddiv("quote");
  
 div("timestamp"); 
-if (file_exists("$top" . "$file" . "index.php3")) {
-	print strftime("%Y/%m/%d", filemtime($top . $file . "index.php3"));
+if (file_exists("$top" . "$file" . "index.php")) {
+	print strftime("%Y/%m/%d", filemtime($top . $file . "index.php"));
 } else {
 	print strftime("%Y/%m/%d", filemtime($top . $file));
 }