parent
fee49b0b85
commit
3ba3465afb
|
@ -34,6 +34,7 @@ module Metasploit
|
||||||
class Application < Rails::Application
|
class Application < Rails::Application
|
||||||
include Metasploit::Framework::CommonEngine
|
include Metasploit::Framework::CommonEngine
|
||||||
|
|
||||||
|
config.paths['log'] = "#{Msf::Config.log_directory}/#{Rails.env}.log"
|
||||||
config.paths['config/database'] = [Metasploit::Framework::Database.configurations_pathname.try(:to_path)]
|
config.paths['config/database'] = [Metasploit::Framework::Database.configurations_pathname.try(:to_path)]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue