2015-05-27, 05:54:11
(2015-05-27, 03:47:22)Oleg06 Wrote: after generation of Salt admin folder was renamed folder Sy4$BFym:XV^5afx+2m?QSiJWpc?#%D +sB46H~pPCQ0u4LT#7l#n9: and there were bugs
That's serious, were you able to rename the folder?I found a related bug which caused the page not to redirect: I mixed up PHP
trim
function with Javascript String.trim()
. To solve, go to gsconfig_ui.php, and replace line 106-120 with the following code. (Will release quickfix soon):Code:
gsconfigUI.adminDirChange = function(value) {
document.getElementById('custom-settings-save-btn').onclick = function() {
if (!(GLOBAL.ADMINDIR === 'admin' && (value === '' || value == 'admin'))) {
setTimeout(function() {
location.href = location.href.replace(GLOBAL.ADMINDIR, value.trim() ? value.trim() : 'admin');
}, 3000);
}
}
};
gsconfigUI.init = function() {
if (GSCS.data.items()[GSCS.data.activeItem()].lookup() === 'gsconfig_ui') {
gsconfigUI.appendConstants();
gsconfigUI.adminDirChange();
}
GSCS.returnSetting('gsconfig_ui', 'gs_admin').value.subscribe(gsconfigUI.adminDirChange);
GSCS.data.activeItem.subscribe(gsconfigUI.appendConstants);
};
So you're saying somehow your SALT's got used as the admin dir name? That's impossible unless you accidentally copied the the SALT into the GSADMIN field, I tested again with 0.2 & it's impossible for those to get mixed up..