[lua:core plugin]: fix typo

personal/stbuehler/wip
Stefan Bühler 13 years ago
parent 48913fac46
commit 3f1c94aefa

@ -93,7 +93,7 @@ end
-- Example:
-- core.xsendfile "/srv/";
local function xsendfile(docroot)
if docroot and type(docroot) =~ "string" then
if docroot and type(docroot) ~= "string" then
lighty.error("xsendfile: parameter has to be a string")
return nil
end

Loading…
Cancel
Save