Remove redundant slashes from configured Chwala URLs
This commit is contained in:
parent
ce9ac27d78
commit
ecd508450e
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ class kolab_files_engine
|
|||
*/
|
||||
public function __construct($plugin, $client_url, $server_url = null)
|
||||
{
|
||||
$this->url = rcube_utils::resolve_url($client_url);
|
||||
$this->url_srv = $server_url ? rcube_utils::resolve_url($server_url) : $this->url;
|
||||
$this->url = rtrim(rcube_utils::resolve_url($client_url), '/ ');
|
||||
$this->url_srv = $server_url ? rtrim(rcube_utils::resolve_url($server_url), '/ ') : $this->url;
|
||||
$this->plugin = $plugin;
|
||||
$this->rc = $plugin->rc;
|
||||
$this->timeout = $this->rc->config->get('session_lifetime') * 60;
|
||||
|
|
Loading…
Add table
Reference in a new issue