[pmwiki-users] Questions on release 2.0.0 (PageStore class)

Karl Loncarek dh2mll at web.de
Fri Sep 2 02:58:33 CDT 2005

I wanted to update the pagestoregz.php cookbook recipe to reflect the 
changes introduced in 2.0.0.

Just one small question to Pm:

What is the line (in class PageStore in function write)

$s = $s && (filesize("$pagefile,new") > $sz * 0.95);

good for? Checking whether the new filesize has not reduced to much? 
Intended as check whether all went OK (and the file was not got corrupted)?
I had to comment it out in order for the script to work while testing. 
Could this lead to a problem?

Karl (aka Klonk)

More information about the pmwiki-users mailing list