[ticket/16941] Remove ending slash from binlog_path

PHPBB3-14401
This commit is contained in:
rxu 2025-04-25 21:04:26 +07:00
parent 80a08d9c54
commit 1ae9a49811
No known key found for this signature in database
GPG key ID: 955F0567380E586A

View file

@ -356,7 +356,7 @@ class fulltext_sphinx
array('read_timeout', '5'),
array('max_children', '30'),
array('pid_file', $this->config['fulltext_sphinx_data_path'] . 'searchd.pid'),
array('binlog_path', $this->config['fulltext_sphinx_data_path']),
array('binlog_path', rtrim($this->config['fulltext_sphinx_data_path'], '/\\')), // Trim trailing slash
),
);