|
@@ -176,8 +176,7 @@ class PrivateBin
|
|
|
$this->_conf = new Configuration;
|
|
$this->_conf = new Configuration;
|
|
|
$this->_model = new Model($this->_conf);
|
|
$this->_model = new Model($this->_conf);
|
|
|
$this->_request = new Request;
|
|
$this->_request = new Request;
|
|
|
- $this->_urlBase = array_key_exists('REQUEST_URI', $_SERVER) ?
|
|
|
|
|
- htmlspecialchars($_SERVER['REQUEST_URI']) : '/';
|
|
|
|
|
|
|
+ $this->_urlBase = $this->_request->getRequestUri();
|
|
|
ServerSalt::setPath($this->_conf->getKey('dir', 'traffic'));
|
|
ServerSalt::setPath($this->_conf->getKey('dir', 'traffic'));
|
|
|
|
|
|
|
|
// set default language
|
|
// set default language
|