re-introducing (optional) URL shortener support, resolves #58
This commit is contained in:
@@ -44,6 +44,7 @@ class configuration
|
||||
'base64version' => '2.1.9',
|
||||
'languageselection' => false,
|
||||
'languagedefault' => '',
|
||||
'urlshortener' => '',
|
||||
),
|
||||
'expire' => array(
|
||||
'default' => '1week',
|
||||
|
||||
@@ -455,6 +455,7 @@ class zerobin
|
||||
$page->assign('EXPIRE', $expire);
|
||||
$page->assign('EXPIREDEFAULT', $this->_conf->getKey('default', 'expire'));
|
||||
$page->assign('EXPIRECLONE', !$this->_doesExpire || ($this->_doesExpire && $this->_conf->getKey('clone', 'expire')));
|
||||
$page->assign('URLSHORTENER', $this->_conf->getKey('urlshortener'));
|
||||
$page->draw($this->_conf->getKey('template'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user