Results 1 to 4 of 4

Thread: Disable the Safe Mode Hack

  1. #1
    User
    Join Date
    01-22-11.
    Posts
    40

    Default 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.

  2. #2
    User
    Join Date
    01-22-11.
    Posts
    40

    Default 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?

  3. #3
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default 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;

  4. #4
    User
    Join Date
    01-22-11.
    Posts
    40

    Default Re: Disable the Safe Mode Hack

    Thanks!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •