liquid_feedback_frontend
diff config/default.lua @ 728:f49cdfb72567
Migration of extos calls from os.* to extos.* comleted
author | bsw |
---|---|
date | Thu Jun 28 16:31:02 2012 +0200 (2012-06-28) |
parents | df92aebce0f6 |
children | f52f918b38b8 |
line diff
1.1 --- a/config/default.lua Thu Jun 28 16:16:02 2012 +0200 1.2 +++ b/config/default.lua Thu Jun 28 16:31:02 2012 +0200 1.3 @@ -1,13 +1,3 @@ 1.4 --- forward compatibility for webmcp 1.2 1.5 -if not os.pfilter then 1.6 - os.pfilter = extos.pfilter 1.7 -end 1.8 -if not os.listdir then 1.9 - os.listdir = extos.listdir 1.10 -end 1.11 -if not os.crypt then 1.12 - os.crypt = extos.crypt 1.13 -end 1.14 1.15 config.app_name = "LiquidFeedback" 1.16 config.app_version = "2.beta12" 1.17 @@ -39,8 +29,8 @@ 1.18 1.19 config.member_image_content_type = "image/jpeg" 1.20 config.member_image_convert_func = { 1.21 - avatar = function(data) return os.pfilter(data, "convert", "jpeg:-", "-thumbnail", "48x48", "jpeg:-") end, 1.22 - photo = function(data) return os.pfilter(data, "convert", "jpeg:-", "-thumbnail", "240x240", "jpeg:-") end 1.23 + avatar = function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "48x48", "jpeg:-") end, 1.24 + photo = function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "240x240", "jpeg:-") end 1.25 } 1.26 1.27 config.member_image_default_file = {