]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-extensions.php
Refback extension in alpha phase finished, users can give refback to all refs in...
[mailer.git] / inc / modules / admin / what-extensions.php
index e81f62f2496d6fe7260927dcd692c78eb4b044ce..14b4f72721c5cdf446ac5e937ef3a148195a09b7 100644 (file)
@@ -170,11 +170,15 @@ if (!empty($_GET['reg_ext'])) {
                if ($_CONFIG['verbose_sql']) {
                        // Load SQL commands in remove mode
                        $EXT_LOAD_MODE = "remove";
+                       $EXT_ALWAYS_ACTIVE = "N";
                        $file = sprintf("%sinc/extensions/ext-%s.php", PATH, $ext_name);
-                       include($file);
+                       if (FILE_READABLE($file)) {
+                               // Load file
+                               include($file);
 
-                       // Generate extra table with loaded SQL commands
-                       $VERBOSE_OUT = EXTENSION_VERBOSE_TABLE($SQLs);
+                               // Generate extra table with loaded SQL commands
+                               $VERBOSE_OUT = EXTENSION_VERBOSE_TABLE($SQLs);
+                       }
                } // END - if
 
                // Prepare data for the row template