xref: /dokuwiki/inc/Input/Server.php (revision ccc4c71ca88c25bcefb7f42eb01f0c040487e3a9)
1*ccc4c71cSAndreas Gohr<?php
2*ccc4c71cSAndreas Gohr
3*ccc4c71cSAndreas Gohrnamespace dokuwiki\Input;
4*ccc4c71cSAndreas Gohr
5*ccc4c71cSAndreas Gohr/**
6*ccc4c71cSAndreas Gohr * Internal class used for $_SERVER access in dokuwiki\Input\Input class
7*ccc4c71cSAndreas Gohr */
8*ccc4c71cSAndreas Gohrclass Server extends Input
9*ccc4c71cSAndreas Gohr{
10*ccc4c71cSAndreas Gohr
11*ccc4c71cSAndreas Gohr    /** @noinspection PhpMissingParentConstructorInspection
12*ccc4c71cSAndreas Gohr     * Initialize the $access array, remove subclass members
13*ccc4c71cSAndreas Gohr     */
14*ccc4c71cSAndreas Gohr    public function __construct()
15*ccc4c71cSAndreas Gohr    {
16*ccc4c71cSAndreas Gohr        $this->access = &$_SERVER;
17*ccc4c71cSAndreas Gohr    }
18*ccc4c71cSAndreas Gohr
19*ccc4c71cSAndreas Gohr}
20