X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Ftemplates_index.php;h=3b70e7c7ddd40f9c95b6c56ff51b2eecb2062b92;hp=7fd2bb457744ecb3005e9446aa90760070a13bfa;hb=9acc365249b5e630da6b5cdd23e3a8015f39ddc7;hpb=ae3851e4befcc7f6bee6d161dc77ac2e4e9c6515 diff --git a/inc/templates_index.php b/inc/templates_index.php index 7fd2bb4..3b70e7c 100644 --- a/inc/templates_index.php +++ b/inc/templates_index.php @@ -11,6 +11,11 @@ try { } $bbox = $connection->mbr (); +if (defined ("THUMBSMAXSIZE") && (THUMBSMAXSIZE > 0)) { + $thumbsmaxsize = THUMBSMAXSIZE; +} else { + $thumbsmaxsize = 400; // default value; +} ?> @@ -19,6 +24,21 @@ $bbox = $connection->mbr (); +