]> gitweb.fluxo.info Git - puppet-pmwiki.git/commitdiff
Template fix
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Jun 2013 16:56:22 +0000 (13:56 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Jun 2013 16:56:22 +0000 (13:56 -0300)
templates/pmwiki.sh.erb

index d16088c56e5dc58e893264e52483e8cdf7603163..20cebf0cb5a8c189841c85ca87c9176ea270de75 100644 (file)
@@ -114,14 +114,14 @@ function pmwiki_install {
   echo > $SITES/$site/wiki/.htaccess <<-EOF
 Options +FollowSymLinks
 RewriteEngine on
-RewriteRule ^/?$ https://$site.<%= ::domain %>/Main/HomePage [R=permanent,QSA,L]
+RewriteRule ^/?$ https://$site.<%= domain %>/Main/HomePage [R=permanent,QSA,L]
 RewriteRule ^([^/a-z].*) field.php?n=$1 [QSA,L]
 EOF
 
   echo > $SITES/$site/wiki/local/config.php <<-EOF
 <?php if (!defined('PmWiki')) exit();
 
-$ScriptUrl = "https://$site.<%= ::domain %>";
+$ScriptUrl = "https://$site.<%= domain %>";
 $EnablePathInfo = 1;
 EOF