Detects if its running in Prestashop, and if so, reads prestashop configuration file to get database details