4images Forum & Community
4images Help / Hilfe => Bug Fixes & Patches => Topic started by: V@no on August 21, 2010, 07:37:42 AM
-
When 4images is setup to use compression (Settings -> Use GZip compression), the database backup compresses backup files into .gz files and thes files not being showed in backup list.
The fix is simple:
in admin/backup.php find:
if (is_file(ROOT_PATH.DATABASE_DIR."/".$file) && $file != "." && $file != ".." && preg_match("/\.sql$/i",$file)) {
Replace it with:
if (is_file(ROOT_PATH.DATABASE_DIR."/".$file) && $file != "." && $file != ".." && preg_match("/\.sql/i",$file)) {
-
Hi,
thx Vano :thumbup:
Is the restore also working after that change or is it only
to show, download and delete them?
I don't want to test it out for nothing ;)
Greetz X23
-
nothing else has been changed, so it should work as before.
-
nothing else has been changed, so it should work as before.
Hi,
never used it... so i only wanted to get sure ;) thx
Greetz X23