]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions-functions.php
Rewrote new extension detection:
[mailer.git] / inc / extensions-functions.php
index 6fbbe22afaa825ee9f24c758e0b6ffb690c7d503..10a4dfc36cb353aff7fe84d14dc617f85d718c00 100644 (file)
@@ -1084,7 +1084,7 @@ function createNewExtensionTask ($ext_name) {
                // Load text for task if found
                if (isFileReadable($FQFN)) {
                        // Load extension's description template (but do not compile the code)
-                       $message = loadTemplate('ext_' . $ext_name, TRUE, array(), FALSE);
+                       $message = '{OPEN_TEMPLATE}template,LoadTemplate=ext_' . $ext_name . '{CLOSE_TEMPLATE}';
                } else {
                        // Write this in debug.log as well
                        logDebugMessage(__FUNCTION__, __LINE__, $message);