moving install.log to logs folder CORE #29
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -448,7 +448,7 @@ class InstallerModule extends Controller
|
||||
if (substr($pathShared, -1) !== '/') {
|
||||
$pathShared .= '/';
|
||||
}
|
||||
$pathSharedLog = $pathShared . 'log/';
|
||||
$pathSharedLog = $pathShared . 'logs/';
|
||||
G::verifyPath($pathSharedLog, true);
|
||||
$logFile = $pathSharedLog . 'install.log';
|
||||
|
||||
|
||||
@@ -452,10 +452,10 @@ Ext.onReady(function () {
|
||||
keyup: function () {
|
||||
wizard.onClientValidation(2, false);
|
||||
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 {
|
||||
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'),
|
||||
id: 'pathLogFile',
|
||||
width: 430,
|
||||
value: path_shared + 'log' + path_sep + 'install.log',
|
||||
value: path_shared + 'logs' + path_sep + 'install.log',
|
||||
disabled: true
|
||||
},
|
||||
new Ext.Button({
|
||||
|
||||
Reference in New Issue
Block a user