Skip to content
Snippets Groups Projects
Commit 3833989d authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #33756

parent e9187328
Branches
Tags
7 merge requests!1553Master,!1502Master,!1501Stable,!1312Master,!1304Master,!1303Hotline master,!1300Hotline#33756 cosmogramme ne gere pas https avec koha
......@@ -37,9 +37,7 @@ abstract class Class_WebService_SIGB_AbstractRESTService extends Class_WebServic
* @return Class_WebService_SIGB_AbstractRESTService
*/
public function setServerRoot($server_root) {
$this->_server_root = (false === strpos('https://', $server_root)
? 'http://' . str_replace('http://', '', $server_root)
: $server_root);
$this->_server_root = $server_root;
return $this;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment