Browse Source

[lua:core plugin]: fix typo

personal/stbuehler/wip
Stefan Bühler 12 years ago
parent
commit
3f1c94aefa
  1. 2
      doc/core.lua

2
doc/core.lua

@ -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