summaryrefslogtreecommitdiffhomepage
path: root/libs/http
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-06-26 18:32:29 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-06-26 18:32:29 +0000
commit5c5bbf9c5068be721d5f8bb54b1d82982c465e98 (patch)
tree5f57c158364041772ff24ceb023567afcee62a03 /libs/http
parent98b954a48f2dd11f48cbc92652de20b0fa5d460b (diff)
* libs/http: require luci.util in http.protocol.mime
Diffstat (limited to 'libs/http')
-rw-r--r--libs/http/luasrc/http/protocol/mime.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/http/luasrc/http/protocol/mime.lua b/libs/http/luasrc/http/protocol/mime.lua
index d85b9025e..7f09f943b 100644
--- a/libs/http/luasrc/http/protocol/mime.lua
+++ b/libs/http/luasrc/http/protocol/mime.lua
@@ -15,6 +15,9 @@ $Id$
module("luci.http.protocol.mime", package.seeall)
+require("luci.util")
+
+
-- MIME mapping
MIME_TYPES = {
["txt"] = "text/plain";