mirror of
https://github.com/gtbu/Typesetter-5.3-p8.git
synced 2025-08-06 14:23:14 +02:00
removed old code
This commit is contained in:
parent
2b21aaa6f9
commit
bdd07d6cb2
3 changed files with 2 additions and 8 deletions
|
@ -22,7 +22,7 @@ gp_defined('gpdebugjs', gpdebug);
|
|||
gp_defined('gp_cookie_cmd', true);
|
||||
gp_defined('gp_browser_auth', false);
|
||||
gp_defined('gp_require_encrypt', false);
|
||||
gp_defined('gp_nonce_algo', 'legacy'); // Since 5.0
|
||||
gp_defined('gp_nonce_algo', 'sha512'); // Since 5.0
|
||||
gp_defined('gp_chmod_file', 0666);
|
||||
gp_defined('gp_chmod_dir', 0755);
|
||||
gp_defined('gp_index_filenames', true);
|
||||
|
|
|
@ -166,7 +166,7 @@ html {
|
|||
*
|
||||
*/
|
||||
#ckeditor_area {
|
||||
padding: 3px 3px 0 3px;
|
||||
padding: 1px 1px 0 1px;
|
||||
overflow: auto;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
|
|
@ -86,12 +86,6 @@ class Nonce{
|
|||
$nonce_tick = ceil(time() / $factor) - $tick_offset;
|
||||
$nonce = $nonce . $config['gpuniq'] . $nonce_tick;
|
||||
|
||||
|
||||
//nonces before version 5.0
|
||||
if( gp_nonce_algo === 'legacy' ){
|
||||
return substr( md5($nonce), -12, 10);
|
||||
}
|
||||
|
||||
return \gp\tool::hash($nonce,gp_nonce_algo, 2);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue