mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Merge branch '3.8'
Conflicts: lib/Alchemy/Phrasea/Controller/Permalink.php
This commit is contained in:
@@ -737,6 +737,16 @@ class Browser
|
||||
}
|
||||
|
||||
return true;
|
||||
} else if(stripos($this->_agent, 'trident') !== false) {
|
||||
// >= IE 11
|
||||
$this->setBrowser(self::BROWSER_IE);
|
||||
|
||||
// version
|
||||
$result = explode("rv:", $this->_agent);
|
||||
$this->setVersion(preg_replace("/[^0-9.]+/", "", $result[1]));
|
||||
|
||||
// remove Gecko out of the user-agent, otherwise the mozilla check will success
|
||||
$this->_agent = str_replace(array("Mozilla", "Gecko"), "MSIE", $this->_agent);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
@@ -397,7 +397,7 @@ class appbox extends base
|
||||
|
||||
if (version_compare($from_version, '3.7') < 0) {
|
||||
$upgrader->addRecommendation(_('Your install might need to re-read technical datas'), 'bin/console records:rescan-technical-datas');
|
||||
$upgrader->addRecommendation(_('Your install might need to re-read technical datas'), 'bin/console records:build-missing-subdefs');
|
||||
$upgrader->addRecommendation(_('Your install might need to build some sub-definitions'), 'bin/console records:build-missing-subdefs');
|
||||
}
|
||||
|
||||
return $advices;
|
||||
|
Reference in New Issue
Block a user