]> git.mxchange.org Git - mailer.git/blobdiff - inc/functions.php
Installation page=welcome rewritten to use div
[mailer.git] / inc / functions.php
index 12d38f394d37a61351d89f82ff7e7706e95cd0b3..8c8d7e15bdba31c04a8f5f8a73e2b16f948daea6 100644 (file)
@@ -2370,14 +2370,14 @@ function GET_CURR_THEME() {
                        // Fix it to default
                        $ret = "default";
                } // END - if
                        // Fix it to default
                        $ret = "default";
                } // END - if
-       } elseif ((!isInstalled()) && ((isInstalling()) || ($GLOBALS['output_mode'] == true)) && ((REQUEST_ISSET_GET(('theme'))) || (REQUEST_ISSET_POST(('theme'))))) {
+       } elseif ((!isInstalled()) && ((isInstalling()) || ($GLOBALS['output_mode'] == true)) && ((REQUEST_ISSET_GET('theme')) || (REQUEST_ISSET_POST('theme')))) {
                // Prepare FQFN for checking
                // Prepare FQFN for checking
-               $theme = sprintf("%stheme/%s/theme.php", constant('PATH'), REQUEST_GET(('theme')));
+               $theme = sprintf("%stheme/%s/theme.php", constant('PATH'), REQUEST_GET('theme'));
 
                // Installation mode active
 
                // Installation mode active
-               if ((REQUEST_ISSET_GET(('theme'))) && (FILE_READABLE($theme))) {
+               if ((REQUEST_ISSET_GET('theme')) && (FILE_READABLE($theme))) {
                        // Set cookie from URL data
                        // Set cookie from URL data
-                       set_session('mxchange_theme', REQUEST_GET(('theme')));
+                       set_session('mxchange_theme', REQUEST_GET('theme'));
                } elseif (FILE_READABLE(sprintf("%stheme/%s/theme.php", constant('PATH'), SQL_ESCAPE(REQUEST_POST('theme'))))) {
                        // Set cookie from posted data
                        set_session('mxchange_theme', SQL_ESCAPE(REQUEST_POST('theme')));
                } elseif (FILE_READABLE(sprintf("%stheme/%s/theme.php", constant('PATH'), SQL_ESCAPE(REQUEST_POST('theme'))))) {
                        // Set cookie from posted data
                        set_session('mxchange_theme', SQL_ESCAPE(REQUEST_POST('theme')));