klein / klein.php

A fast & flexible router
MIT License
2.66k stars 290 forks source link

Getting error when using raw data #332

Closed blakethepatton closed 8 years ago

blakethepatton commented 8 years ago

I'm getting the following issue:

Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0

....when I am receiving raw data. Is there a way to have klein not attempt to define get and post variables so that I don't have to see this error when I'm working in a dev environment?

blakethepatton commented 8 years ago

Nevermind this is not a klein specific issue.