mirror of
https://github.com/boostorg/website.git
synced 2026-01-26 19:12:15 +00:00
35 lines
831 B
PHP
35 lines
831 B
PHP
<?php
|
|
/*
|
|
Copyright 2005-2007 Redshift Software, Inc.
|
|
Distributed under the Boost Software License, Version 1.0.
|
|
(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
|
|
*/
|
|
|
|
switch ($_SERVER['HTTP_HOST'])
|
|
{
|
|
case 'boost.org':
|
|
case 'www.boost.org':
|
|
case 'beta.boost.org':
|
|
{
|
|
define('BOOST_CONFIG_FILE','/home/grafik/www.boost.org/config.php');
|
|
define('ARCHIVE_PREFIX', '/home/grafik/www.boost.org/boost_');
|
|
define('UNZIP', '/usr/bin/unzip');
|
|
}
|
|
break;
|
|
|
|
case 'localhost':
|
|
case 'boost.borg.redshift-software.com':
|
|
{
|
|
define('BOOST_CONFIG_FILE','/DevRoots/Boost/website/workplace/config.php');
|
|
define('ARCHIVE_PREFIX', '/DevRoots/Boost/boost_');
|
|
define('UNZIP', 'unzip');
|
|
}
|
|
break;
|
|
}
|
|
|
|
define('ARCHIVE_FILE_PREFIX', 'boost_');
|
|
|
|
require_once(BOOST_CONFIG_FILE);
|
|
|
|
?>
|