Post-launch updates
This commit is contained in:
parent
0340a6c524
commit
598a4cbc0a
|
@ -6,7 +6,7 @@
|
|||
* @license http://www.gnu.org/licenses/agpl.txt GNU/AGPL, see LICENSE.txt
|
||||
* @author Cliff Ingham <inghamn@bloomington.in.gov>
|
||||
*/
|
||||
$serviceURL = new URL($_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']);
|
||||
$serviceURL = new URL('https://'.BASE_HOST.$_SERVER['REQUEST_URI']);
|
||||
$serviceURL->purgeEmptyParameters();
|
||||
$serviceURL->format = 'xml';
|
||||
echo "
|
||||
|
|
|
@ -28,8 +28,11 @@ Zend_Loader_Autoloader::getInstance();
|
|||
* The URL to get to this site
|
||||
* Do NOT use a trailing slash
|
||||
*/
|
||||
define('BASE_URL','http://localhost/application_name');
|
||||
define('BASE_URI', '/application_name');
|
||||
define('BASE_URI' , '/burials');
|
||||
define('BASE_HOST', isset($_SERVER['HTTP_X_FORWARDED_HOST'])
|
||||
? $_SERVER['HTTP_X_FORWARDED_HOST']
|
||||
: 'tarantula.bloomington.in.gov');
|
||||
define('BASE_URL' , "http://".BASE_HOST.BASE_URI);
|
||||
|
||||
/**
|
||||
* Used when there's an error on the site. The Framework will
|
||||
|
|
Loading…
Reference in New Issue