Modified Files:
fdfunctions.php
Log Message:
Fixed different PHP Notice errors on fd+ engine
Index: fdfunctions.php
===================================================================
RCS file: /cvsroot/flatnuke/flatnuke/download/include/fdfunctions.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** fdfunctions.php 31 Oct 2011 15:02:18 -0000 1.28
--- fdfunctions.php 4 Mar 2012 14:23:17 -0000 1.29
***************
*** 1,3 ****
! <?php
if (eregi("fdfunctions.php",$_SERVER['PHP_SELF'])) {
Header("Location: ../../index.php");
--- 1,3 ----
! <?php
if (eregi("fdfunctions.php",$_SERVER['PHP_SELF'])) {
Header("Location: ../../index.php");
***************
*** 505,509 ****
</fd>";
[...1067 lines suppressed...]
// else $mod="";
***************
*** 1839,1846 ****
if (check_var(trim($line),"digit")) $line=strip_tags(trim($line));
else $line="";
!
if ($file!="" and $line!="")
$message = "$message $file: $line";
!
fdlogf($message,"ERROR");
if (_FN_IS_ADMIN) echo $message;
--- 1840,1847 ----
if (check_var(trim($line),"digit")) $line=strip_tags(trim($line));
else $line="";
!
if ($file!="" and $line!="")
$message = "$message $file: $line";
!
fdlogf($message,"ERROR");
if (_FN_IS_ADMIN) echo $message;