mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
0e299f7166
commit
3a113ac9ab
1 changed files with 1 additions and 1 deletions
|
@ -1128,7 +1128,7 @@ if (typeof gtag !== \"function\") {
|
||||||
|
|
||||||
private static function recreateLoginFromCookie() {
|
private static function recreateLoginFromCookie() {
|
||||||
global $justLogoff, $justTryToRecreateLoginFromCookie;
|
global $justLogoff, $justTryToRecreateLoginFromCookie;
|
||||||
|
_session_start();
|
||||||
if (empty($justTryToRecreateLoginFromCookie) && empty($justLogoff) && empty($_SESSION['user']['id'])) {
|
if (empty($justTryToRecreateLoginFromCookie) && empty($justLogoff) && empty($_SESSION['user']['id'])) {
|
||||||
$justTryToRecreateLoginFromCookie = 1;
|
$justTryToRecreateLoginFromCookie = 1;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue