mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 05:15:55 +00:00
mute warnings caused by session_start() to deal with potential ps_files_cleanup_dir stuff
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
session_id($_REQUEST["sid"]);
|
session_id($_REQUEST["sid"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
session_start();
|
@session_start();
|
||||||
|
|
||||||
if (!init_connection($link)) return;
|
if (!init_connection($link)) return;
|
||||||
|
|
||||||
|
|||||||
@@ -105,6 +105,6 @@
|
|||||||
session_set_cookie_params(SESSION_COOKIE_LIFETIME);
|
session_set_cookie_params(SESSION_COOKIE_LIFETIME);
|
||||||
|
|
||||||
if (!defined('TTRSS_SESSION_NAME') || TTRSS_SESSION_NAME != 'ttrss_api_sid') {
|
if (!defined('TTRSS_SESSION_NAME') || TTRSS_SESSION_NAME != 'ttrss_api_sid') {
|
||||||
session_start();
|
@session_start();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user