
The module spends clearing of pictures which aren't used on a site.
Algorithm of the module idle time, we take the complete list of files in a folder uploads/posts/* we fill table PREFIX_clean, and then we check on presence of images in table PREFIX_images if there is no that it is deleted.
Module options in the main file engine/inc/cleandisk.php they it is clear enough commented.
Installation:
1. To unpack archive in a root
2. To start install.php
Module functions:
To scan - scans a folder uploads/posts/* and in a package mode writes down in a DB of a way and names of pictures
To clear - filters pictures and deletes not necessary (in an automatic mode)
Download:
http://letitbit.net/download/56288.5f99d30d8ebe915cfc5465ba7cb3/clean_disk.rar.html