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

« back to all changes in this revision

Viewing changes to libraries/auth/cookie.auth.lib.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:
5
5
 * Thanks to Piotr Roszatycki <d3xter at users.sourceforge.net> and
6
6
 * Dan Wilson who built this patch for the Debian package.
7
7
 *
8
 
 * @version $Id: cookie.auth.lib.php 11188 2008-04-06 11:11:56Z lem9 $
 
8
 * @version $Id: cookie.auth.lib.php 11326 2008-06-17 21:32:48Z lem9 $
9
9
 */
10
10
 
11
 
/**
12
 
 * @todo replace by constant
13
 
 * $coming_from_common can be set from outside with register_globals on
14
 
 */
15
 
if (!isset($coming_from_common)) {
16
 
   exit;
 
11
if (! defined('PHPMYADMIN')) {
 
12
    exit;
17
13
}
18
14
 
19
15
if (function_exists('mcrypt_encrypt') || PMA_dl('mcrypt')) {