MCPcopy Create free account
hub / github.com/sqlmapproject/sqlmap / global_config

Method global_config

thirdparty/bottle/bottle.py:4243–4249  ·  view source on GitHub ↗

This reads or sets the global settings stored in class.settings.

(cls, key, *args)

Source from the content-addressed store, hash-verified

4241
4242 @classmethod
4243 def global_config(cls, key, *args):
4244 """ This reads or sets the global settings stored in class.settings. """
4245 if args:
4246 cls.settings = cls.settings.copy() # Make settings local to class
4247 cls.settings[key] = args[0]
4248 else:
4249 return cls.settings[key]
4250
4251 def prepare(self, **options):
4252 """ Run preparations (parsing, caching, ...).

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected