Jasig/phpCAS — comment on commit 735e863bb5ee2424ab2eee17d40ed166aa4c80b2
File: source/CAS.php line 494
By ADmad:

`if (!empty($PHPCAS_DEBUG['filename']))` would be a shorter alternative to this line with same result.

Still instead of this I would suggest to make the changes I proposed in issue #2. Since the default value is $PHPCAS_DEBUG['filename'] = FALSE, instead of unsetting the "filename" key just setting it to false inside the phpCAS::setDebug() function is the more sensible thing to do.

Looks like in 2.0 you are going to get rid of these globals and use the singleton pattern instead which is nice.