Révision 01f36513
Ajouté par Assos Assos il y a environ 6 ans
drupal7/includes/common.inc | ||
---|---|---|
611 | 611 |
} |
612 | 612 |
// The 'q' parameter contains the path of the current page if clean URLs are |
613 | 613 |
// disabled. It overrides the 'path' of the URL when present, even if clean |
614 |
// URLs are enabled, due to how Apache rewriting rules work. |
|
615 |
if (isset($options['query']['q'])) { |
|
614 |
// URLs are enabled, due to how Apache rewriting rules work. The path |
|
615 |
// parameter must be a string. |
|
616 |
if (isset($options['query']['q']) && is_string($options['query']['q'])) { |
|
616 | 617 |
$options['path'] = $options['query']['q']; |
617 | 618 |
unset($options['query']['q']); |
618 | 619 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules