From fbe5f3f3c31e0a0085952a5207038af01bca9e23 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 19 Feb 2010 03:06:54 +0100 Subject: clever standard value for site_domain, most user may not touch it --- paste/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'paste') 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/', -- cgit v1.2.3