diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-08-13 15:57:58 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-08-13 15:57:58 +0000 |
commit | 671e924f2402e18a6b32af8eedf9af5a24b7a01b (patch) | |
tree | 8a4b3e3096ce3c8c4206ccc9bf5ca65b6d176228 /apk-controller.lua | |
parent | d962635e52cc8f11764c7cde6a4ab073842ac72c (diff) | |
download | acf-apk-tools-671e924f2402e18a6b32af8eedf9af5a24b7a01b.tar.bz2 acf-apk-tools-671e924f2402e18a6b32af8eedf9af5a24b7a01b.tar.xz |
Added ability to enable cache, changed upgrade to use 'fix -u', added '-U' to upgrade all, bumped to 0.4.0.
Diffstat (limited to 'apk-controller.lua')
-rw-r--r-- | apk-controller.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apk-controller.lua b/apk-controller.lua index e3dcf75..eff4c8a 100644 --- a/apk-controller.lua +++ b/apk-controller.lua @@ -29,6 +29,10 @@ upgrade = function(self) return self:redirect_to_referrer(self.model.upgrade_package(self.clientdata.package or "", self.sessiondata)) end +cache = function(self) + return controllerfunctions.handle_form(self, self.model.get_cache, self.model.update_cache, self.clientdata, "Save", "Edit Cache Settings", "Settings Saved") +end + expert = function(self) return controllerfunctions.handle_form(self, self.model.get_configfile, self.model.update_configfile, self.clientdata, "Save", "Edit Configuration", "Configuration Saved") end |