]> git.mxchange.org Git - mailer.git/blobdiff - inc/install-inc.php
Several template fixes/cleanups, naming convention applied:
[mailer.git] / inc / install-inc.php
index f27ccb8c024bd35f0c9364f7559e44d96033fbfc..4f6241581430ddca19fabd62cdc820f4086ed801 100644 (file)
@@ -179,7 +179,7 @@ if ((!isInstalled()) || (!isAdminRegistered())) {
                        // MySQL data
                        $OUT = '';
                        foreach ($GLOBALS['install_mysql'] as $key => $value) {
-                               $OUT .= "    <input type=\"hidden\" name=\"mysql[" . $key . "]\" value=\"" . $value . "\" />\n";
+                               $OUT .= '    <input type="hidden" name="mysql[' . $key . ']" value="' . $value . '" />';
                        } // END - foreach
                        $content['mysql_hidden'] = $OUT;
 
@@ -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>');