Initial commit
This commit is contained in:
19
content/inc/Input/Server.php
Normal file
19
content/inc/Input/Server.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace dokuwiki\Input;
|
||||
|
||||
/**
|
||||
* Internal class used for $_SERVER access in dokuwiki\Input\Input class
|
||||
*/
|
||||
class Server extends Input
|
||||
{
|
||||
|
||||
/** @noinspection PhpMissingParentConstructorInspection
|
||||
* Initialize the $access array, remove subclass members
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->access = &$_SERVER;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user