]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/theme_functions.php
Continued:
[mailer.git] / inc / libs / theme_functions.php
index 1bba6cccc93f1725ab65706bca3fe6041f16fbdb..175244f770b15f795211cc12d865ed53fc8a5f31 100644 (file)
@@ -52,8 +52,8 @@ function generateThemeSelectionBox () {
 
        // Initialize array
        $themesArray = array(
-               'theme_unix'   => array(), // Unix name from filesystem
-               'theme_name'   => array()  // Title
+               'theme_unix'   => [], // Unix name from filesystem
+               'theme_name'   => []  // Title
        );
 
        // Only activated themes for the user
@@ -236,7 +236,7 @@ function getActualTheme () {
                // Set default theme
                setMailerTheme($ret);
        } elseif ((isMailerThemeSet()) && (isExtensionInstalledAndNewer('sql_patches', '0.1.4'))) {
-               //die("<pre>".print_r($GLOBALS['cache_array']['themes'], TRUE)."</pre>");
+               //* DEBUG-DIE: */ die("<pre>".print_r($GLOBALS['cache_array']['themes'], TRUE)."</pre>");
                // Get theme from cookie
                $ret = getSession('mailer_theme');