[-] FO : #PSCFV-2150 : Translations of modules are connected width sprintf()
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15304 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -60,7 +60,7 @@ class Gsitemap extends Module
|
||||
{
|
||||
file_put_contents(GSITEMAP_FILE, '');
|
||||
if (!($fp = fopen(GSITEMAP_FILE, 'w')))
|
||||
$this->_postErrors[] = $this->l('Cannot create').' '.realpath(dirname(__FILE__.'/../..')).'/'.$this->l('sitemap.xml file.');
|
||||
$this->_postErrors[] = sprintf($this->l('Cannot create %ssitemap.xml file.'), realpath(dirname(__FILE__.'/../..')).'/');
|
||||
else
|
||||
fclose($fp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user