[*] FO : Check if grid_prestashop.css is available in theme before including
This commit is contained in:
@@ -721,7 +721,9 @@ class FrontControllerCore extends Controller
|
||||
$this->setMobileMedia();
|
||||
return true;
|
||||
}
|
||||
$this->addCSS(_THEME_CSS_DIR_.'grid_prestashop.css', 'all');
|
||||
|
||||
if (Tools::file_exists_cache(_PS_ROOT_DIR_.Tools::str_replace_once(__PS_BASE_URI__, DIRECTORY_SEPARATOR, _THEME_CSS_DIR_.'grid_prestashop.css')))
|
||||
$this->addCSS(_THEME_CSS_DIR_.'grid_prestashop.css', 'all');
|
||||
$this->addCSS(_THEME_CSS_DIR_.'global.css', 'all');
|
||||
$this->addjquery();
|
||||
$this->addjqueryPlugin('easing');
|
||||
|
||||
Reference in New Issue
Block a user