moving install.log to logs folder CORE #29

This commit is contained in:
Fernando Ontiveros
2025-04-08 16:05:19 +00:00
parent 95174257f4
commit 9ad5ead4bd
3 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@@ -448,7 +448,7 @@ class InstallerModule extends Controller
if (substr($pathShared, -1) !== '/') { if (substr($pathShared, -1) !== '/') {
$pathShared .= '/'; $pathShared .= '/';
} }
$pathSharedLog = $pathShared . 'log/'; $pathSharedLog = $pathShared . 'logs/';
G::verifyPath($pathSharedLog, true); G::verifyPath($pathSharedLog, true);
$logFile = $pathSharedLog . 'install.log'; $logFile = $pathSharedLog . 'install.log';

View File

@@ -452,10 +452,10 @@ Ext.onReady(function () {
keyup: function () { keyup: function () {
wizard.onClientValidation(2, false); wizard.onClientValidation(2, false);
if (Ext.getCmp('pathShared').getValue().substr(-1, 1) != path_sep) { if (Ext.getCmp('pathShared').getValue().substr(-1, 1) != path_sep) {
Ext.getCmp('pathLogFile').setValue(Ext.getCmp('pathShared').getValue() + path_sep + 'log' + path_sep + 'install.log'); Ext.getCmp('pathLogFile').setValue(Ext.getCmp('pathShared').getValue() + path_sep + 'logs' + path_sep + 'install.log');
} }
else { else {
Ext.getCmp('pathLogFile').setValue(Ext.getCmp('pathShared').getValue() + 'log' + path_sep + 'install.log'); Ext.getCmp('pathLogFile').setValue(Ext.getCmp('pathShared').getValue() + 'logs' + path_sep + 'install.log');
} }
} }
} }
@@ -465,7 +465,7 @@ Ext.onReady(function () {
fieldLabel: '<span id="pathLogFileSpan"></span> ' + _('ID_INSTALLATION_FILE_LOG'), fieldLabel: '<span id="pathLogFileSpan"></span> ' + _('ID_INSTALLATION_FILE_LOG'),
id: 'pathLogFile', id: 'pathLogFile',
width: 430, width: 430,
value: path_shared + 'log' + path_sep + 'install.log', value: path_shared + 'logs' + path_sep + 'install.log',
disabled: true disabled: true
}, },
new Ext.Button({ new Ext.Button({