Auto Shortening URLs

This commit is contained in:
Karthik Kasturi 2025-08-09 00:01:25 +01:00
parent 08c44cfb05
commit 059e64adb1
7 changed files with 43 additions and 2 deletions

View file

@ -61,6 +61,7 @@ class Configuration
'languageselection' => false,
'languagedefault' => '',
'urlshortener' => '',
'shortenbydefault' => false,
'qrcode' => true,
'email' => true,
'icon' => 'jdenticon',

View file

@ -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'));