diff --git a/scripts/advanced.php b/scripts/advanced.php
index 468e4df..7a077af 100644
--- a/scripts/advanced.php
+++ b/scripts/advanced.php
@@ -132,8 +132,8 @@ if(isset($_GET['submit'])) {
if (isset($_GET["purge_threshold"])) {
$purge_threshold = $_GET["purge_threshold"];
- if (strcmp($purge_threshold, $config['PURGE_THERSHOLD']) !== 0) {
- $contents = preg_replace("/PURGE_THERSHOLD=.*/", "PURGE_THERSHOLD=$purge_threshold", $contents);
+ if (strcmp($purge_threshold, $config['PURGE_THRESHOLD']) !== 0) {
+ $contents = preg_replace("/PURGE_THRESHOLD=.*/", "PURGE_THRESHOLD=$purge_threshold", $contents);
}
}
@@ -306,9 +306,7 @@ $newconfig = get_config();
-
Defines how full the disk should be before the purge operations occur.
Note: This variable is still active if Keep is set. This means that the servies will be stopped at the purge threshold.
Defines how full the disk should be before the purge operations occur.
Note: This variable is still active if Keep is set. This means that the servies will be stopped at the purge threshold.