diff options
Diffstat (limited to 'public/app/views/components/theme.php')
| -rw-r--r-- | public/app/views/components/theme.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/public/app/views/components/theme.php b/public/app/views/components/theme.php index b6ada78..5a545e6 100644 --- a/public/app/views/components/theme.php +++ b/public/app/views/components/theme.php @@ -33,6 +33,10 @@ switch ($month) { * * ( ( ( month*31 + day) % L*4 ) div 4 ) * change seasonal theme every 4 days + * + * Catch Exceptions + * if (month == 12) : month = 0 + * if (month == 6 && day == 1) then day = 2 */ @@ -104,7 +108,7 @@ $themes = [ 'summer' => [ 's1', 's5', 'g9', 's2', 'g1' ], - 'fall' => [ 'f8', 's5', 'g4', 's1' ], + 'fall' => [ 'f8', 's5', 'g4', 's2' ], 'winter' => [ 'w9' ], @@ -115,7 +119,7 @@ $themes = [ ]; -define('THEME', $theme_def[ $themes['fall'][0] ]); +define('THEME', $theme_def[ $themes['fall'][3] ]); ?> <!-- theme overides --> |
