]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-theme_import.php
Several rewrites/renames, fixes for installation. Resolves #104
[mailer.git] / inc / modules / admin / what-theme_import.php
index 7cfa35b394a17713241cdd6fe1f7a76c929eed12..6ab037893fcb586e8c916b7a79ad48bc39fee351 100644 (file)
@@ -36,7 +36,7 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
        require($INC);
 } elseif (!EXT_IS_ACTIVE("theme")) {
-       addFatalMessage(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "theme");
+       addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "theme");
        return;
 }
 
@@ -62,7 +62,7 @@ VALUES ('%s','N','%s','%s')",
                                array(REQUEST_POST('theme'), $THEME_VERSION, $THEME_NAME), __FILE__, __LINE__);
 
                        // Destroy cache
-                       REBUILD_CACHE("themes", "them");
+                       rebuildCacheFiles("themes", "them");
 
                        // Prepare message
                        $msg = ADMIN_THEME_IMPORTED_1.REQUEST_POST('theme').ADMIN_THEME_IMPORTED_2;