summaryrefslogtreecommitdiffstats
path: root/paste
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-02-19 03:06:54 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2010-02-19 03:06:54 +0100
commitfbe5f3f3c31e0a0085952a5207038af01bca9e23 (patch)
tree1ed73b3d5bf00715603d438ea63fd275ef383281 /paste
parented7a9440e24e272dabf10ea1cc1c3c06bbc79c06 (diff)
downloadrafb-nopaste-fbe5f3f3c31e0a0085952a5207038af01bca9e23.tar.gz
rafb-nopaste-fbe5f3f3c31e0a0085952a5207038af01bca9e23.tar.xz
rafb-nopaste-fbe5f3f3c31e0a0085952a5207038af01bca9e23.zip
clever standard value for site_domain, most user may not touch it
Diffstat (limited to 'paste')
-rw-r--r--paste/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/config.php b/paste/config.php
index 49117eb..801e28b 100644
--- a/paste/config.php
+++ b/paste/config.php
@@ -35,7 +35,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
$config = array(
// This is the domain where this pastebin is running
- 'site_domain' => 'www.example.net',
+ 'site_domain' => 'http://' . $_SERVER["SERVER_NAME"],
// This is the part after the domain where this pastebin will be found.
'site_path' => '/paste/',