Files
Testing/BKPchat/m/connectionDetails.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

25 lines
512 B
PHP

<?php
$doNotEcho = true;
$revision = "2206";
chdir('../');
include("avc_settings.php");
if(isset($avconfig['connectionstring']) && $avconfig['connectionstring'] != ''){
$domain = parse_url($avconfig['connectionstring'], PHP_URL_HOST);
$siteUrl = explode('/', $avconfig['connectionstring']);
$appName = $siteUrl[3]."/".$siteUrl[4];
//echo $domain.' '.$appName;
define("HOST", $domain);
define("APPNAME", $appName);
define("PORT", "1935");
}else{
die ("No connection string");
}
?>