Check out Grant Acedrex, our featured variant for April, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Footer[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Thu, Apr 12, 2018 12:51 PM UTC:

I have made some changes to the footers. First of all, the Last Modified date was incorrect. It was displaying the timestamp of the footer file instead of the timestamp of the actual file. I changed this to display the ModifiedDate value from the database in a format that should be unambigious no matter how dates are formatted in your country. In addition to this, I added the value of CreationDate in the same format. Where there is an actual file, I added the timestamp of the file. This will differ from ModifiedDate when minor updates have been made without changing the ModifiedDate in the database, as well as when files have been copied without preserving the original timestamps. For Game Courier, I have added two more timestamps. One is the settings file timestamp, and the other is the log file timestamp. These will show up when such files exist.

I got the idea for some of this from the index/fileinfoinc.php script, which includes both Modified date from the database and the timestamp. I came across this script while updating scripts to use PDO methods instead of mysql functions. Since the important information it displays is contained in the footer, I will move it to an oldcode/ directory and stop including it in other scripts.