From 63dd9f085120c567bddde8123e3994f984b8f936 Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 30 Jul 2014 00:28:40 +0200 Subject: Remove even the config.cache from /tmp to avoid issues while here --- etc/inc/config.lib.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/inc/config.lib.inc b/etc/inc/config.lib.inc index d186d97..8dd2918 100644 --- a/etc/inc/config.lib.inc +++ b/etc/inc/config.lib.inc @@ -591,6 +591,7 @@ function reset_factory_defaults($lock = false) { } } closedir($dh); + unlink_if_exists($g['tmp_path'] . "/config.cache"); /* copy default configuration */ copy("{$g['conf_default_path']}/config.xml", "{$g['conf_path']}/config.xml"); -- cgit v1.1