// Merge -> revision 7941
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7948 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -31,6 +31,12 @@ class StoresControllerCore extends FrontController
|
||||
|
||||
public function preProcess()
|
||||
{
|
||||
if(!extension_loaded('Dom'))
|
||||
{
|
||||
$this->errors[] = Tools::displayError('Dom extension is not loaded.');
|
||||
$smarty->assign('errors', $this->errors);
|
||||
}
|
||||
|
||||
$simplifiedStoreLocator = Configuration::get('PS_STORES_SIMPLIFIED');
|
||||
$distanceUnit = Configuration::get('PS_DISTANCE_UNIT');
|
||||
if (!in_array($distanceUnit, array('km', 'mi')))
|
||||
|
||||
Reference in New Issue
Block a user