diff --git a/CHANGELOG b/CHANGELOG index 860b170..9128788 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -3,6 +3,7 @@ ====================== Version Description +1.1.11......Fix to replace deprecated PHP date function. 1.1.10......Add Debian 11(Bullseye) to the WebGUI. 1.1.09......Always check/update create.sh for /tmp sane permissions. 1.1.08......Always check for host /tmp sane permissions. diff --git a/gui/bastille_manager-lib.inc b/gui/bastille_manager-lib.inc index 3731362..af9f9a4 100755 --- a/gui/bastille_manager-lib.inc +++ b/gui/bastille_manager-lib.inc @@ -49,7 +49,8 @@ $rootfolder = $cwdir; $configfile = "$rootfolder/conf/bastille_config"; $configfile_bastille = "$rootfolder/bastille-dist/usr/local/etc/bastille/bastille.conf"; $versionfile = "$rootfolder/version"; -$date = strftime('%c'); +//$date = strftime('%c'); // Previous PHP versions, deprecated as of PHP 8.1. +$date = date('D M d h:i:s Y', time()); // Equivalent date replacement for the previous strftime function. $logfile = "$rootfolder/log/bastille_ext.log"; $logevent = "$rootfolder/log/bastille_last_event.log"; $backup_path = exec("/usr/bin/grep 'BACKUP_DIR=' $configfile | /usr/bin/cut -d'\"' -f2"); diff --git a/version b/version index 5ed5faa..9ee1f78 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.1.10 +1.1.11