Server.php 358 B

12345678910111213141516171819
  1. <?php
  2. namespace dokuwiki\Input;
  3. /**
  4. * Internal class used for $_SERVER access in dokuwiki\Input\Input class
  5. */
  6. class Server extends Input
  7. {
  8. /** @noinspection PhpMissingParentConstructorInspection
  9. * Initialize the $access array, remove subclass members
  10. */
  11. public function __construct()
  12. {
  13. $this->access = &$_SERVER;
  14. }
  15. }