HOR-546 "Peticiones ajax en pmDynaform no funcionan" SOLVED
Issue:
Peticiones ajax en pmDynaform no funcionan
Cause:
Uso del flag para excluir el string del protocolo "http://"
Solution:
Se elimina el flag para excluir el string del protocolo "http://"
This commit is contained in:
@@ -1257,11 +1257,9 @@ class System
|
||||
/**
|
||||
* Get the complete name of the server host configured for requests Front-End (e.g. https://127.0.0.1:81)
|
||||
*
|
||||
* @param bool $flagHttp Add https/http string
|
||||
*
|
||||
* @return string Returns an string with the complete name of the server host configured for requests Front-End
|
||||
*/
|
||||
public static function getHttpServerHostnameRequestsFrontEnd($flagHttp = true)
|
||||
public static function getHttpServerHostnameRequestsFrontEnd()
|
||||
{
|
||||
try {
|
||||
$arraySystemConfiguration = self::getSystemConfiguration();
|
||||
@@ -1270,7 +1268,7 @@ class System
|
||||
$serverHostname = ($serverHostname != '')? $serverHostname : $_SERVER['HTTP_HOST'];
|
||||
|
||||
//Return
|
||||
return (($flagHttp)? ((G::is_https())? 'https://' : 'http://') : '') . $serverHostname;
|
||||
return ((G::is_https())? 'https://' : 'http://') . $serverHostname;
|
||||
} catch (Exception $e) {
|
||||
throw $e;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user