webmcp

diff framework/env/execute/_add_filters_by_path.lua @ 65:a54cc7dcabf1

"extos" library calls via "extos." instead of "os."
author jbe
date Tue Apr 17 15:20:42 2012 +0200 (2012-04-17)
parents 9fdfb27f8e67
children
line diff
     1.1 --- a/framework/env/execute/_add_filters_by_path.lua	Sun Apr 15 16:04:33 2012 +0200
     1.2 +++ b/framework/env/execute/_add_filters_by_path.lua	Tue Apr 17 15:20:42 2012 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  function execute._add_filters_by_path(filter_list, ...)
     1.5    local full_path     = encode.file_path(request.get_app_basepath(), "app", ...)
     1.6    local relative_path = encode.file_path("", ...)
     1.7 -  local filter_names = os.listdir(full_path)
     1.8 +  local filter_names = extos.listdir(full_path)
     1.9    if filter_names then
    1.10      table.sort(filter_names)  -- not really neccessary, due to sorting afterwards
    1.11      for i, filter_name in ipairs(filter_names) do

Impressum / About Us