| 1 |
<?php |
<?php |
| 2 |
// $Id: front_page.module,v 1.75.2.5 2008/04/29 08:08:05 augustin Exp $ |
// $Id: front_page.module,v 1.75.2.6 2008/04/29 08:34:08 augustin Exp $ |
| 3 |
/** |
/** |
| 4 |
* |
* |
| 5 |
* This module allows the site admin to set advanced front page settings. |
* This module allows the site admin to set advanced front page settings. |
| 286 |
} |
} |
| 287 |
|
|
| 288 |
//this checks to see if you are overriding HOME links on the site |
//this checks to see if you are overriding HOME links on the site |
| 289 |
if (variable_get('front_page_breadcrumb', 0)) { |
if (variable_get('front_page_breadcrumb', 0) && isset($_SERVER['HTTP_REFERER'])) { |
| 290 |
// This checks to see if the referer is an internal HOME link or not. |
// This checks to see if the referer is an internal HOME link or not. |
| 291 |
$newhome = variable_get('front_page_breadcrumb_redirect', 'node'); |
$newhome = variable_get('front_page_breadcrumb_redirect', 'node'); |
| 292 |
$ref = $_SERVER['HTTP_REFERER']; |
$ref = $_SERVER['HTTP_REFERER']; |