]> git.mxchange.org Git - mailer.git/blobdiff - inc/fatal_errors.php
Even more XHTML fixes
[mailer.git] / inc / fatal_errors.php
index f1f1ee7001299bccb74f02555bee6e1d010e5390..46dcce0fa63a0ce0f30b5a19e2edc3a356055828 100644 (file)
@@ -38,7 +38,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 }
 
@@ -47,10 +47,10 @@ if (getTotalFatalErrors() > 0) {
        LOAD_TEMPLATE("fatal_header");
 
        // Set unset variable
-       if (empty($check)) $check = "";
+       if (empty($check)) $check = '';
        if ((isInstalling()) || (!isInstalled())) {
                // While we are installing ouput other header than while it is installed... :-)
-               $OUT = "";
+               $OUT = '';
                foreach (getFatalArray() as $key => $value) {
                        // Prepare content for the template
                        $content = array(
@@ -66,7 +66,7 @@ if (getTotalFatalErrors() > 0) {
                LOAD_TEMPLATE("install_fatal_table", false, $OUT);
        } elseif (isInstalled()) {
                // Display all runtime fatal errors
-               $OUT = "";
+               $OUT = '';
                foreach (getFatalArray() as $key => $value) {
                        // Prepare content for the template
                        $content = array(