mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-18 21:48:24 -04:00
Auto Shortening URLs
This commit is contained in:
@@ -61,6 +61,7 @@ class Configuration
|
||||
'languageselection' => false,
|
||||
'languagedefault' => '',
|
||||
'urlshortener' => '',
|
||||
'shortenbydefault' => false,
|
||||
'qrcode' => true,
|
||||
'email' => true,
|
||||
'icon' => 'jdenticon',
|
||||
|
||||
@@ -477,6 +477,7 @@ class Controller
|
||||
$page->assign('EXPIRE', $expire);
|
||||
$page->assign('EXPIREDEFAULT', $this->_conf->getKey('default', 'expire'));
|
||||
$page->assign('URLSHORTENER', $this->_conf->getKey('urlshortener'));
|
||||
$page->assign('SHORTENBYDEFAULT', $this->_conf->getKey('shortenbydefault'));
|
||||
$page->assign('QRCODE', $this->_conf->getKey('qrcode'));
|
||||
$page->assign('EMAIL', $this->_conf->getKey('email'));
|
||||
$page->assign('HTTPWARNING', $this->_conf->getKey('httpwarning'));
|
||||
|
||||
Reference in New Issue
Block a user