summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-cgi/luasrc/sgi
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2010-11-23 01:02:21 +0000
committerManuel Munz <freifunk@somakoma.de>2010-11-23 01:02:21 +0000
commit450bdd5a401388ed709a178ef4561d87c21c323b (patch)
tree88f71d3be04bd4ecf6e7708ad948f7a43ed39efb /libs/sgi-cgi/luasrc/sgi
parent1aa676d501f806109d626665cd82390c175fd029 (diff)
Add possibility to show execution time in the footer
Diffstat (limited to 'libs/sgi-cgi/luasrc/sgi')
-rw-r--r--libs/sgi-cgi/luasrc/sgi/cgi.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/sgi-cgi/luasrc/sgi/cgi.lua b/libs/sgi-cgi/luasrc/sgi/cgi.lua
index 3fec6969b8..04ae9aa592 100644
--- a/libs/sgi-cgi/luasrc/sgi/cgi.lua
+++ b/libs/sgi-cgi/luasrc/sgi/cgi.lua
@@ -23,6 +23,7 @@ See the License for the specific language governing permissions and
limitations under the License.
]]--
+exectime = os.clock()
module("luci.sgi.cgi", package.seeall)
local ltn12 = require("luci.ltn12")
require("nixio.util")