summaryrefslogtreecommitdiffstats
path: root/paste/config.php
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-02-19 04:07:21 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2010-02-19 04:14:24 +0100
commit10a9b20a5eecf6b932716cb4250a5a53214519b4 (patch)
treed3f1ab857682b8aeecb61e981b2022d187c323e5 /paste/config.php
parent501b26ef4cc1e36be6ceb994b3571eb0eff964e6 (diff)
downloadrafb-nopaste-10a9b20a5eecf6b932716cb4250a5a53214519b4.tar.gz
rafb-nopaste-10a9b20a5eecf6b932716cb4250a5a53214519b4.tar.xz
rafb-nopaste-10a9b20a5eecf6b932716cb4250a5a53214519b4.zip
fixed behaviour with short paths
Diffstat (limited to 'paste/config.php')
-rw-r--r--paste/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/config.php b/paste/config.php
index 3dee814..727952c 100644
--- a/paste/config.php
+++ b/paste/config.php
@@ -46,7 +46,7 @@ $config = array(
// This is the path of the URL that will be generated for sharing (allows
// shorter URLs to be used if you've set something up on your web server
// to support this.
- // short_results_path' => 'http://www.example.net/p/'
+ 'short_results_path' => 'http://' . $_SERVER["SERVER_NAME"] . '/',
// Change this to a unique value
'token_salt' => 'saltsaltsalt',