Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/vendors/Textpattern/Server/Config.php - 132 lines - 2704 bytes - Source - Print

Description: Access server configuration variables.

Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Config:: (5 methods):
__construct()
getVariable()
getMagicQuotesGpc()
getRegisterGlobals()
setMagicQuotesOff()

Class: Config


__construct()  line: 63
Constructor.

getVariable($name line: 76
Gets a server configuration variable.

return: mixed The variable
param: string $name The variable
getMagicQuotesGpc()  line: 92
Magic quotes.

return: bool
getRegisterGlobals()  line: 103
Gets register globals status.

return: bool
setMagicQuotesOff()  line: 114
Turn runtime magic quotes off.

<code>
Txp::get('\Textpattern\Server\Config')->setMagicQuotesOff();
</code>

return: \Textpattern\Server\Config

title

Body