diff --git a/include/tools.php b/include/tools.php index 28399b8..06cdc44 100644 --- a/include/tools.php +++ b/include/tools.php @@ -45,7 +45,7 @@ function isProcessRunning($processname) { } function clean($string) { - return preg_replace('/[^A-Za-z0-9\-\/\ \.\_\>\&]/', '', $string); // Removes special chars. + return preg_replace('/[^A-Za-z0-9:\-\/\ \.\_\>\&]/', '', $string); // Removes special chars. } function createConfigLines() {