lots of bugs are solved in this new version Reproducible: Always Steps to Reproduce: 1.emerge postfixadmin Actual Results: in portage the newest version is the 2.3 Expected Results: I would like to emerge postfixadmin 2.3.1
and this is a patch for the last warning about the date function (I paste it here because I am at the office and I do not trust wordpad ): --- backup.php 2009-10-24 02:11:09.000000000 +0200 +++ backup.php 2010-08-05 13:24:49.0000 00000 +0200 @@ -20,7 +20,8 @@ * * Form POST \ GET Variables: -none- */ - +date_default_timezone_set('Europe/Oslo'); +$date = date_default_timezone_get(); require_once('common.php'); authentication_require_role('global-admin'); @@ -55,7 +56,8 @@ { umask (077); $path = (ini_get('upload_tmp_dir') != '') ? ini_get('upload_tmp_dir') : '/tm p'; - $filename = "postfixadmin-" . date ("Ymd") . "-" . getmypid() . ".sql"; + #$filename = "postfixadmin-" . date ("Ymd") . "-" . getmypid() . ".sql"; + $filename = "postfixadmin-" . date('dmY') ."-" . getmypid() . ".sql"; $backup = $path . DIRECTORY_SEPARATOR . $filename; $header = "#\n# Postfix Admin $version\n# Date: " . date ("D M j G:i:s T Y") . "\n#\n";
I am testing it on my server and it works like a charme without annoying warnings whatsoever
bump ?
Thank you for report! I'll resolve this bug as duplicate of 336036 as bug 336036 has attachment to work with (although in reality that bug is duplicate of this :) ). The patch you pasted here does not apply in postfixadmin-2.3.2 and I think is not needed any more. *** This bug has been marked as a duplicate of bug 336036 ***