This is not really a support request, more a request for clarification (brilliant module BTW !)
Looking at the code for the module I am confused by this line:

define("PRODUCTION_SERVER", variable_get('services_debug', FALSE));

I don't really understand the logic there:

If services_debug is true it will give PRODUCTION_SERVER a value of true....which disables the amfphp debug mode, right? And if services_debug is set to false, that would make PRODUCTION_SERVER false?
Maybe I'm not understanding things correctly.

I'm going to hard code it to set PRODUCTION_SERVER to true in on my production site until I get clarification. Perhaps I'm way off...please forgive me if I am. I'm still 'learning' php.

Comments

snelson’s picture

Yeah ... good catch.

Should be:


define("PRODUCTION_SERVER", !variable_get('services_debug', FALSE));

snelson’s picture

Category: support » bug
jody lynn’s picture

Version: 5.x-1.x-dev » master
Status: Active » Fixed

fixed in HEAD

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.