]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-usage.php
Next wave of lesser getMessage() usage and more EL
[mailer.git] / inc / modules / admin / what-usage.php
index 616a72f42d4f478f6101709cd2151f6ca38cecb4..0af9eee3a811c12615a6bc8868c51cbc600e35ad 100644 (file)
@@ -86,7 +86,7 @@ if (isGetRequestParameterSet('image')) {
 
 if ((!empty($FQFN)) && (isFileReadable($FQFN))) {
        // @TODO This code is double, see loadTemplate() and loadEmailTemplate() in functions.php
-       eval("\$content=\"".SQL_ESCAPE(readFromFile($FQFN))."\";");
+       eval('$content="' . SQL_ESCAPE(readFromFile($FQFN)) . '";');
        // Until here...
 
        // Replace URLs
@@ -108,7 +108,7 @@ if ((!empty($FQFN)) && (isFileReadable($FQFN))) {
        outputHtml($content);
 } else {
        // Nothing to load, then we have no directory 'usage'
-       loadTemplate('admin_settings_saved', false, getMessage('ADMIN_USAGE_DIRECTORY_404'));
+       loadTemplate('admin_settings_saved', false, '{--ADMIN_USAGE_DIRECTORY_404--}');
 }
 
 // [EOF]