From 238d39b877a9c427d04614d628f443c1f64925fd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 6 May 2008 12:27:00 +0000 Subject: [PATCH] Now fixed... *sigh* --- inc/install-inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/install-inc.php b/inc/install-inc.php index 850d6fae7e..eb35e24475 100644 --- a/inc/install-inc.php +++ b/inc/install-inc.php @@ -45,7 +45,7 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) { function install_WriteData ($file, $comment, $prefix, $suffix, $DATA, $sneak=0) { // Initialize all and count up the "seak" value $done = false; - $next = 0; + $next = -1; $sneak++; if ((file_exists($file)) && (is_readable($file))) { @@ -60,7 +60,7 @@ function install_WriteData ($file, $comment, $prefix, $suffix, $DATA, $sneak=0) //* DEBUG: */ echo $search."/".htmlentities($line)."
\n"; $found = strpos($line, $search); //* DEBUG: */ echo "FOUND: "; - var_dump($found); + //* DEBUG: */ var_dump($found); //* DEBUG: */ echo "
\n"; if ($found !== false) $next = 0; if ($next > -1) { -- 2.39.5