diff --git a/SSIDManager/api/module.php b/SSIDManager/api/module.php index 8aebb6a..2e91e28 100644 --- a/SSIDManager/api/module.php +++ b/SSIDManager/api/module.php @@ -1,5 +1,9 @@ response = array("success" => true, "version" => "version " . $moduleInfo->version, @@ -79,7 +82,7 @@ class SSIDManager extends Module private function deleteSSIDFile() { - exec("rm -rf " . $this->SSIDDirectoryPath() ."'" . $this->request->file . "'"); + unlink($this->SSIDDirectoryPath() . $this->request->file); $this->response = array("success" => true); } diff --git a/SSIDManager/module.info b/SSIDManager/module.info index 98523e0..d0a6994 100644 --- a/SSIDManager/module.info +++ b/SSIDManager/module.info @@ -2,5 +2,9 @@ "title": "SSID Manager", "description": "Manage SSID Pools for PineAP", "version": "1.0", - "author": "noncenz" + "author": "noncenz", + "devices": [ + "nano", + "tetra" + ] } \ No newline at end of file