Files
metasploit-gs/data/msfweb/app/controllers/options_controller.rb
T
HD Moore d69a1f6ff0 Adding the new msfweb tree, using rails 2.2.3 and newer prototype
git-svn-id: file:///home/svn/framework3/trunk@6651 4d416f70-5f16-0410-b530-b9f4589650da
2009-06-14 15:17:53 +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