diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2013-02-19 16:56:43 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2013-02-19 16:56:43 +0400 |
| commit | acfbab375d18e93ddc82c3e8fe1e5784593f5b40 (patch) | |
| tree | 7274c1d2c97f6902aaf3a654672255889df8fc5f | |
| parent | 1ff1374325ffbcab2398dd3e7d3bca8d8be63c00 (diff) | |
mute warnings caused by session_start() to deal with potential ps_files_cleanup_dir stuff
| -rw-r--r-- | api/index.php | 2 | ||||
| -rw-r--r-- | include/sessions.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/api/index.php b/api/index.php index 9b92dcadd..147157946 100644 --- a/api/index.php +++ b/api/index.php @@ -48,7 +48,7 @@ session_id($_REQUEST["sid"]); } - session_start(); + @session_start(); if (!init_connection($link)) return; diff --git a/include/sessions.php b/include/sessions.php index bd07c1994..2cef1d91b 100644 --- a/include/sessions.php +++ b/include/sessions.php @@ -105,6 +105,6 @@ session_set_cookie_params(SESSION_COOKIE_LIFETIME); if (!defined('TTRSS_SESSION_NAME') || TTRSS_SESSION_NAME != 'ttrss_api_sid') { - session_start(); + @session_start(); } ?> |