parent
04541ac724
commit
38da44c26b
|
@ -76,9 +76,9 @@ class Metasploit::Framework::ParsedOptions::Base
|
||||||
user_database_yaml = user_config_root.join('database.yml')
|
user_database_yaml = user_config_root.join('database.yml')
|
||||||
|
|
||||||
if user_database_yaml.exist?
|
if user_database_yaml.exist?
|
||||||
options.database.config = [user_database_yaml.to_path]
|
options.database.config = user_database_yaml.to_path
|
||||||
else
|
else
|
||||||
options.database.config = ['config/database.yml']
|
options.database.config = 'config/database.yml'
|
||||||
end
|
end
|
||||||
|
|
||||||
options.database.disable = false
|
options.database.disable = false
|
||||||
|
|
Loading…
Reference in New Issue