~ubuntu-branches/debian/experimental/phpmyadmin/experimental

« back to all changes in this revision

Viewing changes to libraries/Config.class.php

  • Committer: Package Import Robot
  • Author(s): Michal Čihař
  • Date: 2013-03-11 14:11:09 UTC
  • mfrom: (1.4.3)
  • Revision ID: package-import@ubuntu.com-20130311141109-c87yrlb1r20ahcsq
Tags: 4:3.5.7-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
     */
99
99
    function checkSystem()
100
100
    {
101
 
        $this->set('PMA_VERSION', '3.5.6');
 
101
        $this->set('PMA_VERSION', '3.5.7');
102
102
        /**
103
103
         * @deprecated
104
104
         */
208
208
        )) {
209
209
            $this->set('PMA_USR_BROWSER_VER', $log_version[2]);
210
210
            $this->set('PMA_USR_BROWSER_AGENT', 'KONQUEROR');
 
211
            // must check Chrome before Safari
 
212
        } elseif (preg_match(
 
213
            '@Mozilla/([0-9].[0-9]{1,2})@',
 
214
            $HTTP_USER_AGENT,
 
215
            $log_version)
 
216
            && preg_match('@Chrome/([0-9]*)@', $HTTP_USER_AGENT, $log_version2)
 
217
        ) {
 
218
            $this->set('PMA_USR_BROWSER_VER', $log_version[1] . '.' . $log_version2[1]);
 
219
            $this->set('PMA_USR_BROWSER_AGENT', 'CHROME');
211
220
        } elseif (preg_match(
212
221
            '@Mozilla/([0-9].[0-9]{1,2})@',
213
222
            $HTTP_USER_AGENT,