!strcasecmp(text,"enabled") and strcasecmp(text,"enabled") == 0 are the same thing.
Trust me, the way it is written now works just fine.
There's some reason your config isn't being read properly. My guess is you have more than one config file and you're changing the wrong one. If that is not the case, then adding some logging of the various attributes that are being read may shed some light on things.
|