(2015-05-27, 08:35:23)Oleg06 Wrote: GS Custom Settings 0.5
http://youtu.be/N7izixmAtJM?hd=1
Thanks for your patience, could you try one 2 last things:
1) after generating the salts, open browser console & type GSCS.returnSetting('gsconfig_ui', 'gs_admin'). What is the return value?
2) in gsconfig_ui.php, replace the block (somewhere at line 260-275) between these 2 comments:
Code:
// text settings commented out by default
[...]
// following 3 are not commented out by default
with
Code:
case 'gs_admin':
rename(GSADMINPATH, GSROOTPATH . $s['value'] .'/');
$r = (!$s['value'] ? '#' : '') . $m['def'] . $m['const'] . ',\'' . $s['value'] . '\'' . $m['end'];
break;
case 'gs_custom_salt':
require_once(GSADMININCPATH . 'configuration.php');
global $SALT, $cookie_time, $cookie_name;
$SALT = sha1($s['value']);
kill_cookie($cookie_name);
create_cookie();
case 'gs_login_salt':
case 'gs_editor_options':
case 'gs_timezone':
case 'gs_from_email':
$r = (!$s['value'] ? '#' : '') . $m['def'] . $m['const'] . ',\'' . $s['value'] . '\'' . $m['end'];
break;