diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/inc/config.inc.php | 1 | ||||
-rw-r--r-- | www/index.php | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/www/inc/config.inc.php b/www/inc/config.inc.php index c800fac..7f007b3 100644 --- a/www/inc/config.inc.php +++ b/www/inc/config.inc.php @@ -31,7 +31,6 @@ $scnamegallery = "Photo Gallery Index"; # =========================================================================== # albums to show $yearsince = 1999; - $yearto = 2005; #images FIXME - this is stylesheet's job $img["left"] = "left.png"; $img["right"] = "right.png"; diff --git a/www/index.php b/www/index.php index 1483b84..74dd5a6 100644 --- a/www/index.php +++ b/www/index.php @@ -106,6 +106,7 @@ if (!$galerie) { $thisyear = 0; + if (!$yearto) $yearto = date("Y"); for ($i = $yearto; $i >= $yearsince; $i--) { for ($thismonth=12; $thismonth>0; $thismonth--) { // go year by year, month by month // down |