Undefined index: HTTP_REFERER
April 14th, 2013Versions 2.4.7 to 4.1.6
In /blog/skins/****/
In [posts.main.php] after <-- Messages Generated From Actions -->
Add code to check if $_SERVER['HTTP_REFERER'] is set; to avoid error;
Replace
Code
$url = $_SERVER['HTTP_REFERER']; |
with
Code
//$url = $_SERVER['HTTP_REFERER']; | |
$url = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : ''; |
Removed in {blood_wine, elf, space} skins only
Adding Print Icon Link
April 14th, 2013Versions 4.1.4 to 4.1.6
1. Added icon to ../blog/rsc/icons
2. Modified single.main.php in ../blog/skins/****
@version $Id: single.main.php,v 1.7 2007/11/24 21:31:22 fplanque Exp $
Inserted code at line 157
Code
<?php | |
if( $disp=='single' ) | |
{ ?><a href="javascript:window.print()"><img src="../../rsc/icons/print_icon.png" border="0" alt="print" title="print" /> Print</a> | |
<?php } ?> | |
|







