Yii Framework Forum: Codeception with $_SERVER - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Codeception with $_SERVER

#1 User is offline   Jonny 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 238
  • Joined: 26-December 11

Posted 12 October 2017 - 11:29 AM

What is the correct way to be able to use codeception when you have $_SERVER variables.
I am using them in index.php and web.php. It's mainly $_SERVER['REMOTE_ADDR']

Thanks ::)
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,165
  • Joined: 17-January 09
  • Location:Russia

Posted 14 October 2017 - 07:46 AM

Make em customizable.
Yii 2.0 Development Cookbook

Enjoying Yii? Star us at github

Support me so I work on Yii fulltime: https://www.patreon.com/samdark
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users