~ubuntu-branches/ubuntu/lucid/phpmyadmin/lucid

« back to all changes in this revision

Viewing changes to libraries/common.inc.php

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2008-06-14 15:24:31 UTC
  • mfrom: (1.1.20 upstream)
  • Revision ID: james.westby@ubuntu.com-20080614152431-gvx52c7r0iuxwvxl
Tags: 4:2.11.7~rc2-1
* New upstream release candidate.
  - Fixes an undisclosed security issue, which is most probably
    irrelevant to Debian, but medium urgency just in case.
  - Fixes session hash_bits override (Closes: #474557).
* Checked for policy 3.8.0, add README.source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 * - db connection
23
23
 * - authentication work
24
24
 *
25
 
 * @version $Id: common.inc.php 11176 2008-03-29 11:16:04Z lem9 $
 
25
 * @version $Id: common.inc.php 11326 2008-06-17 21:32:48Z lem9 $
26
26
 */
27
27
 
28
28
/**
53
53
}
54
54
 
55
55
/**
 
56
 * for verification in all procedural scripts under libraries
 
57
 */
 
58
define('PHPMYADMIN', true);
 
59
 
 
60
/**
56
61
 * core functions
57
62
 */
58
63
require_once './libraries/core.lib.php';
730
735
        // Gets the authentication library that fits the $cfg['Server'] settings
731
736
        // and run authentication
732
737
 
733
 
        // (for a quick check of path disclosure in auth/cookies:)
734
 
        $coming_from_common = true;
735
 
 
736
738
        // to allow HTTP or http
737
739
        $cfg['Server']['auth_type'] = strtolower($cfg['Server']['auth_type']);
738
740
        if (! file_exists('./libraries/auth/' . $cfg['Server']['auth_type'] . '.auth.lib.php')) {