mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Update session.inc.php
Using ${var} in strings is deprecated, use {$var} instead
This commit is contained in:
parent
947ec4a67d
commit
b8e3261180
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ function _check_csrf_token($user) {
|
||||||
}
|
}
|
||||||
|
|
||||||
define('CSRF_TOKEN', $csrf_token);
|
define('CSRF_TOKEN', $csrf_token);
|
||||||
header("X-CSRF-Token: ${csrf_token}");
|
header("X-CSRF-Token: {$csrf_token}");
|
||||||
}
|
}
|
||||||
|
|
||||||
function enc_secret($message) {
|
function enc_secret($message) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue