mirror of
https://github.com/kenzok8/small-package.git
synced 2026-02-04 22:09:05 +08:00
update 2024-08-24 00:23:09
This commit is contained in:
@@ -7,8 +7,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
LUCI_NAME:=luci-app-tinyfilemanager
|
||||
PKG_VERSION:=2.5.3-20240804
|
||||
#PKG_RELEASE:=1
|
||||
PKG_VERSION:=2.5.3-20240823
|
||||
|
||||
LUCI_TITLE:=LuCI Tiny File Manager
|
||||
LUCI_DEPENDS:=+php8 +php8-cgi +php8-fastcgi +php8-fpm +php8-mod-session +php8-mod-ctype +php8-mod-fileinfo +php8-mod-zip +php8-mod-iconv +php8-mod-mbstring +coreutils-stat +zoneinfo-asia +bash +curl +tar
|
||||
|
||||
@@ -38,7 +38,7 @@ return view.extend({
|
||||
return fs.exec('/etc/init.d/tinyfilemanager', ['reload'])
|
||||
.catch(function(e) { ui.addNotification(null, E('p', e.message), 'error') });
|
||||
};
|
||||
if (! has_location)
|
||||
if (! has_location)
|
||||
o.description = _('To enable SSL support, you may need to install <b>%s</b><br/>').format(['php-nginx']);
|
||||
|
||||
o = s.option(form.Flag, 'use_auth', _('Enable Authentication'));
|
||||
@@ -169,12 +169,12 @@ return view.extend({
|
||||
o = s.option(form.Button, '_uprgade', _('Uprgade ') + _('Tiny File Manager'));
|
||||
o.inputtitle = _('Uprgade');
|
||||
o.inputstyle = 'apply';
|
||||
o.onclick = L.bind(function(ev, section_id) {
|
||||
var releasestag=document.getElementById('widget.' + this.cbid(section_id).match(/.+\./) + '_releaseslist').value;
|
||||
o.onclick = function(ev, section_id) {
|
||||
var releasestag=this.section.getOption('_releaseslist').formvalue(section_id);
|
||||
//alert(releasestag);
|
||||
return fs.exec_direct('/usr/libexec/tinyfilemanager-update', [releasestag])
|
||||
.catch(function(e) { ui.addNotification(null, E('p', e.message), 'error') });
|
||||
}, o)
|
||||
}
|
||||
};
|
||||
|
||||
// s = m.section(form.TypedSection, '_updater');
|
||||
|
||||
Reference in New Issue
Block a user