]> git.mxchange.org Git - mailer.git/blobdiff - inc/stylesheet.php
Extension ext-earning continued:
[mailer.git] / inc / stylesheet.php
index 7cd2a38cf4d105ed69964e001fe0781b1813b130..147e7245d39c580209e463b98d7b2ddcab78f0ac 100644 (file)
@@ -109,8 +109,11 @@ if ((isCssOutputMode()) || (getConfig('css_php') == 'DIRECT')) {
        if ((isInstallationPhase())) {
                // Default theme first
                $newTheme = 'default';
-               if (isGetRequestParameterSet('theme'))  $newTheme = getRequestParameter('theme');
-               if (isPostRequestParameterSet('theme')) $newTheme = secureString(postRequestParameter('theme'));
+               if (isPostRequestElementSet('theme')) {
+                       $newTheme = postRequestElement('theme');
+               } elseif (isGetRequestElementSet('theme')) {
+                       $newTheme = getRequestElement('theme');
+               }
                $OUT .= '?theme=' . $newTheme . '&installing=1';
        } else {
                // Add SVN revision to bypass caching problems