yii-debug-toolbar icon indicating copy to clipboard operation
yii-debug-toolbar copied to clipboard

yii debug cannot work when ues in remote

Open DrWrong opened this issue 10 years ago • 2 comments

the logic of check SERVER_ADDR=REMOTE_ADDR will lead to lots of value cannot see when you server and your browser are not in the same machine so i commnet the return statement

DrWrong avatar Dec 22 '14 11:12 DrWrong

but in the config it have ipFilters options to seecific the remote_addr it allow. if it can not use in remote why just set the ipFilters to 127.0.0.1

DrWrong avatar Dec 23 '14 02:12 DrWrong

I had the same problem, and by commenting out the return statement, the problem was fixed and the IP filter still works.

asped avatar Jun 15 '16 07:06 asped