diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-04-17 00:43:17 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-04-17 00:43:17 +0000 |
commit | d6e8f214d59c9f70cd6c53cf82c9977328705245 (patch) | |
tree | 4dba421720ee83d7870da3bd94992b8ebfe980cb /vlc-model.lua | |
parent | 1471dfac72a978562aac19fa7a1396a0c04b5222 (diff) | |
download | acf-vlc-daemon-d6e8f214d59c9f70cd6c53cf82c9977328705245.tar.bz2 acf-vlc-daemon-d6e8f214d59c9f70cd6c53cf82c9977328705245.tar.xz |
Changes to use new htmlviewfunctions functions and standardize logfile viewer
This closes a bug where log filename was not validated
Diffstat (limited to 'vlc-model.lua')
-rw-r--r-- | vlc-model.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vlc-model.lua b/vlc-model.lua index e210e25..5a8da68 100644 --- a/vlc-model.lua +++ b/vlc-model.lua @@ -41,7 +41,7 @@ function mymodule.getconfigfile() return modelfunctions.getfiledetails(configfile) end -function mymodule.get_filedetails() +function mymodule.getlogfile () local path=logfile local path2 if fs.is_file(configfile) then @@ -50,7 +50,7 @@ function mymodule.get_filedetails() end end if path2 then path=path2 end - return modelfunctions.getfiledetails(path) + return cfe({ value=path, label="VLC logfile" }) end function mymodule.setconfigfile(self, filedetails) |