aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Lasseter <nathan@4574.co.uk>2013-01-13 21:44:45 +0000
committerNathan Lasseter <nathan@4574.co.uk>2013-01-13 21:44:45 +0000
commit2228c5b1bc1e4c9a7daff5a076928babc8cf5398 (patch)
tree226be8cc64bfd2e580dcd5b636bd3434f9918934
parent784d39145f3c395c0cf6f742b8414f1c215736ec (diff)
parenteff0f650143e2a819ff693a181b25e875c058c9f (diff)
Merge branch 'master' of github.com:User4574/clog
-rw-r--r--viewpost.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewpost.php b/viewpost.php
index 617923a..c2121aa 100644
--- a/viewpost.php
+++ b/viewpost.php
@@ -28,7 +28,7 @@
echo "<div>\n";
echo "<a class=\"title\" href=\"{$blogRoot}post/" . urlencode($file) . "\">$file <span id=\"perma\">[Permalink]</span></a> ";
?>
-<a href="https://twitter.com/share" class="twitter-share-button" data-text="<?php echo "$blogTitle: {$_GET['post']} {$_SERVER['SERVER_NAME']}{$_SERVER['REQUEST_URI']}"; ?>">[Tweet]</a>
+<a href="https://twitter.com/share" class="twitter-share-button" data-text="<?php echo "$blogTitle: {$_GET['post']}"; ?>">[Tweet]</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<?php