View Single Post
  #1 (permalink)  
Old 04-09-2008, 04:07 AM
troy's Avatar
troy troy is offline
Junior Member
 
Join Date: Apr 2008
Posts: 11
Default How do I set MD5(?) in ini file? Must I escape?

This works:
PHP Code:

$authAdapter
->setCredentialTreatment('MD5(?)'); 
But I like to set it in the config.ini file and I guess becaouse of the question mark it doesn't work. Is there a way to escape that?
Code:
accounts.CredentialTreatment = MD5(?)
PHP Code:

if (null !== $registry->config->accounts->CredentialTreatment) {
            
$this->_credentialTreatment $registry->config->accounts->CredentialTreatment;
        }
$authAdapter->setCredentialTreatment($this->_credentialTreatment); 
Reply With Quote