Files
metasploit-gs/data/msfweb/app/controllers/options_controller.rb
T
HD Moore c51d3a7220 More updates from Mike
git-svn-id: file:///home/svn/framework3/trunk@4850 4d416f70-5f16-0410-b530-b9f4589650da
2007-05-03 17:47:06 +00:00

24 lines
459 B
Ruby

#
# Original version is Copyright (c) 2007 Mike Whitehead <mwhite22[at]caledonian.ac.uk>
# Added to Metasploit under the terms of the Metasploit Framework License v1.2
#
# Description: MSFWeb Options controller (Skinning, etc)
#
class OptionsController < ApplicationController
layout 'windows'
def index
@force_reload = false
p params
p cookies
if (params[:style])
cookies[:style] = params[:style]
@force_reload = true
end
end
end