~ubuntu-branches/ubuntu/karmic/drupal6/karmic

« back to all changes in this revision

Viewing changes to includes/bootstrap.inc

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano, Luigi Gangitano
  • Date: 2009-03-01 18:26:25 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090301182625-me2h8b2u87e8oneg
Tags: 6.10-1
[ Luigi Gangitano ]
* New upstream release
  - This version fixes two Windows-only security issues
    (Ref: SA-CORE-2009-003, SA-CORE-2009-004)
    Debian is not affected by this vulnerabilites

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
 
// $Id: bootstrap.inc,v 1.206.2.9 2009/01/14 19:10:25 goba Exp $
 
2
// $Id: bootstrap.inc,v 1.206.2.11 2009/02/25 13:49:54 dries Exp $
3
3
 
4
4
/**
5
5
 * @file
132
132
define('LANGUAGE_NEGOTIATION_DOMAIN', 3);
133
133
 
134
134
/**
 
135
 * Language written left to right. Possible value of $language->direction.
 
136
 */
 
137
define('LANGUAGE_LTR', 0);
 
138
 
 
139
/**
 
140
 * Language written right to left. Possible value of $language->direction.
 
141
 */
 
142
define('LANGUAGE_RTL', 1);
 
143
 
 
144
/**
135
145
 * Start the timer with the specified name. If you start and stop
136
146
 * the same timer multiple times, the measured intervals will be
137
147
 * accumulated.
551
561
  }
552
562
  $cache = NULL;
553
563
 
554
 
  if (!$user->uid && $_SERVER['REQUEST_METHOD'] == 'GET' && count(drupal_set_message()) == 0) {
 
564
  if (!$user->uid && $_SERVER['REQUEST_METHOD'] == 'GET' && count(drupal_set_message()) == 0 && $_SERVER['SERVER_SOFTWARE'] !== 'PHP CLI') {
555
565
    $cache = cache_get($base_root . request_uri(), 'cache_page');
556
566
 
557
567
    if (empty($cache)) {