Base URL in config file

This commit is contained in:
Pierre Rudloff 2015-04-11 00:00:00 +02:00
parent 4edfdd3edd
commit eeb506bdf7
3 changed files with 4 additions and 4 deletions

View file

@ -16,11 +16,11 @@
<header>
<div class="social">
<a class="twitter" href="http://twitter.com/home?status=<?php
echo urlencode('http://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']);
echo urlencode(BASE_URL);
?>" target="_blank">
Share on Twitter<div class="twittermask"></div></a>
<a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=<?php
echo urlencode('http://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']);
echo urlencode(BASE_URL);
?>" target="_blank">Share on Facebook<div class="facebookmask"></div></a>
</div>
</header>