Revision 369
Added by Matthias almost 18 years ago
index.php | ||
---|---|---|
50 | 50 |
} |
51 | 51 |
unset($template); |
52 | 52 |
|
53 |
//Get the referrer page ID if it exists |
|
54 |
if(isset($_REQUEST['referrer']) && intval($_REQUEST['referrer']) > 0) { |
|
55 |
define('REFERRER_ID', intval($_REQUEST['referrer'])); |
|
56 |
} else { |
|
57 |
define('REFERRER_ID', 0); |
|
58 |
} |
|
59 |
|
|
53 | 60 |
// Include index (wrapper) file |
54 | 61 |
require(WB_PATH.'/index.php'); |
55 | 62 |
|
Also available in: Unified diff
Fixed search results generate invalid XHTML and notify warnings (#326)
Added support for getting page ID of page that referred search request (#327) (thanks to brofield)