Page 1 of 1

checksum check in testing

Posted: Wed Apr 24, 2013 2:34 pm
by Timbalu
For the internal verify checksum function I would like to add a check for an empty checksum file, which happens in non released Serendipity testing versions. Else a click will always pronounce the checksum check to have run through successfully, which isn't true.

It is not a big thing, but before I put this on Github I would like to have a quick feedback, if this also can end up with CHECKSUMS_NOT_FOUND, 'Unable to compare checksums! (No checksums.inc.php in main directory)', or better stay on its own with a new constant CHECKSUMS_EMPTY, "Unable to compare checksums! (Possibly because a testing version is currently installed)".

Then I would need Garvin to create this in the lang files for us, please. :wink:

Re: checksum check in testing

Posted: Thu Apr 25, 2013 10:13 am
by garvinhicking
Hi!

I think we can use the existing constant for that.

Regards,
Garvin