mirror of
https://github.com/unraid/webgui.git
synced 2026-05-01 15:29:20 -05:00
Tools: new function -> PHP Settings
This commit is contained in:
@@ -103,7 +103,7 @@ function viewLog() {
|
||||
}
|
||||
function clearLog() {
|
||||
$.post('/webGui/include/PHPsettings.php',{cmd:'clear'},function(){
|
||||
swal({title:"_(PHP Log File)_",text:"_(Log file cleared)_<br>_(You must reopen an existing LOG window)_",type:'success',html:true,confirmButtonText:"_(Ok)_"});
|
||||
swal({title:"_(PHP Log File)_",text:"_(Log file cleared)_",type:'success',html:true,confirmButtonText:"_(Ok)_"},function(){if (tty_window!=null && !tty_window.closed) viewLog();});
|
||||
});
|
||||
}
|
||||
function PHPinfo() {
|
||||
|
||||
@@ -111,6 +111,9 @@ var before = new Date();
|
||||
const timers = {};
|
||||
timers.bannerWarning = null;
|
||||
|
||||
// tty window
|
||||
var tty_window = null;
|
||||
|
||||
const addAlert = {};
|
||||
addAlert.text = $.cookie('addAlert-text');
|
||||
addAlert.cmd = $.cookie('addAlert-cmd');
|
||||
@@ -400,7 +403,6 @@ function escapeQuotes(form) {
|
||||
}
|
||||
|
||||
// Banner warning system
|
||||
|
||||
var bannerWarnings = [];
|
||||
var currentBannerWarning = 0;
|
||||
var osUpgradeWarning = false;
|
||||
|
||||
Reference in New Issue
Block a user