Jump to content

v4.2.0 MySQL password escaping issue


nahanil

Recommended Posts

I just set up a fresh v4.2.0 install.

The MySQL database password contains the character "$" which was stored in config/blesta.php as "\$". This made sense in older versions as the config options were surrounded by double quotes in v3.6.?, but it appears they've been changed to single quotes which led to me banging my head for a minute trying to figure out why I was only getting blank pages.

 

<?php
//...
Configure::set('Blesta.database_info', [
        //...
        'pass' => '\$abc123',
        //...
    ]
);

 

Link to comment
Share on other sites

  • Tyson locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...