]> git.mxchange.org Git - mailer.git/commitdiff
Now fixed... *sigh*
authorRoland Häder <roland@mxchange.org>
Tue, 6 May 2008 12:27:00 +0000 (12:27 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 6 May 2008 12:27:00 +0000 (12:27 +0000)
inc/install-inc.php

index 850d6fae7e6b0390cd862f7983989ce4f7ccd64f..eb35e2447505daa4ae39230a88404165d6f8617a 100644 (file)
@@ -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."/<font color=\"red\">".htmlentities($line)."</font><br />\n";
                                        $found = strpos($line, $search);
                                        //* DEBUG: */ echo "FOUND: <font color=\"brown\">";
-                                       var_dump($found);
+                                       //* DEBUG: */ var_dump($found);
                                        //* DEBUG: */ echo "</font><br />\n";
                                        if ($found !== false) $next = 0;
                                        if ($next > -1) {