]> git.mxchange.org Git - mailer.git/blobdiff - inc/install-inc.php
Rewrites/fixes for handling config entries in SQLs
[mailer.git] / inc / install-inc.php
index 38e4a6be53215fab6f09a696c03df77e77578bf8..1f70d3aa550c524d7e69bad93157f918e42a65e8 100644 (file)
@@ -103,7 +103,7 @@ if ((!isInstalled()) || (!isAdminRegistered())) {
                        if (ifFatalErrorsDetected()) {
                                addToInstallContent('<div class="install_fatal">');
                                foreach (getFatalArray() as $key => $err) {
-                                       addToInstallContent('<div class="para"><strong>&middot;</strong>&nbsp;{--FATAL_NO--}' . ($key + 1) . ':&nbsp;' . $err . '</div>');
+                                       addToInstallContent('<div class="para"><strong>&middot;</strong> {--FATAL_NO--}' . ($key + 1) . ': ' . $err . '</div>');
                                } // END - foreach
                                addToInstallContent('</div>');
                        } // END - if
@@ -226,7 +226,7 @@ if ((!isInstalled()) || (!isAdminRegistered())) {
                                                                        mergeSqls(explode(";\n", $fileContent), 'install');
                                                                } else {
                                                                        // Not readable!
-                                                                       debug_report_bug(sprintf("SQL dump %s is not readable!", $dump));
+                                                                       debug_report_bug(__FILE__, __LINE__, sprintf("SQL dump %s is not readable!", $dump));
                                                                }
                                                        } // END - foreach
                                                        //* DEBUG: */ die(__FUNCTION__.'['.__LINE__.']:'<pre>'.print_r(getSqls(), true).'</pre>');