summaryrefslogtreecommitdiff
path: root/cpp/doc
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/doc')
-rw-r--r--cpp/doc/swish/swishcgi.conf14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpp/doc/swish/swishcgi.conf b/cpp/doc/swish/swishcgi.conf
index 0baf1371126..27285bdc9c3 100644
--- a/cpp/doc/swish/swishcgi.conf
+++ b/cpp/doc/swish/swishcgi.conf
@@ -1,24 +1,24 @@
use lib '/var/www/html/doc/swishdir';
-my $ice_version = '3.3.1';
+my $ice_version = '3.3.0';
my $suffix = '-IceTouch';
my $referer = $ENV{HTTP_REFERER} ? $ENV{HTTP_REFERER} : '';
if ($referer =~ m{/Ice-([0-9]+\.[0-9]+\.[0-9]+)(b|-IceTouch)?/})
{
- my $ice_version = $1;
- my $suffix = $2;
+ $ice_version = $1;
+ $suffix = ${2} ? ${2} : '';
}
$index_loc = '../html/doc/Ice-' . $ice_version . $suffix . '/swishdir/index.swish-e';
return {
- swish_index => $index_loc,
+swish_index => $index_loc,
template => {
package => 'TemplateSlice',
- options => {
- filename => 'TemplateSlice',
- },
+ options => {
+ filename => 'TemplateSlice',
+ },
},
display_props => '',
prepend_path => '../',