Disable the Safe Mode Hack
Hello,
I'm sorry, very obvious little question ...
But how and where do you disable the Safe Mode Hack?
Does it involve changing something in the htaccess or localconfig files?
I know I should be able to find it in the manual but I haven't managed to.
Thank you!
Andrei.
Re: Disable the Safe Mode Hack
PS I took out 5 lines:
$GLOBALS['TL_CONFIG']['useFTP'] = true;
$GLOBALS['TL_CONFIG']['ftpHost'] = '****';
$GLOBALS['TL_CONFIG']['ftpPath'] = '****/';
$GLOBALS['TL_CONFIG']['ftpUser'] = '****';
$GLOBALS['TL_CONFIG']['ftpPass'] = '****';
And that seems to have done the trick, but is there an easier way, does
/**
*
*
*
*
*
*/
around them make them invisible instead of using cut and paste?
Re: Disable the Safe Mode Hack
I'd say changing the setting itself is easiest because you retain login and password information if you ever need them. Or also blank the password if no-one should be able to read it. (I once requested to encrypt passwords, but it hasn't been implemented yet because Leo disagrees this adds anything since the decryption key is in the same file.)
So change
Code:
$GLOBALS['TL_CONFIG']['useFTP'] = true;
into
Code:
$GLOBALS['TL_CONFIG']['useFTP'] = false;
Re: Disable the Safe Mode Hack