Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Session.php')
-rw-r--r--core/Session.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Session.php b/core/Session.php
index fd17a48e59..a19a546dab 100644
--- a/core/Session.php
+++ b/core/Session.php
@@ -11,6 +11,7 @@
namespace Piwik;
use Exception;
+use Piwik\Log;
use Piwik\Session\SaveHandler\DbTable;
use Zend_Session;
@@ -120,7 +121,7 @@ class Session extends Zend_Session
Zend_Session::start();
register_shutdown_function(array('Zend_Session', 'writeClose'), true);
} catch (Exception $e) {
- Piwik::log('Unable to start session: ' . $e->getMessage());
+ Log::warning('Unable to start session: ' . $e->getMessage());
$enableDbSessions = '';
if (DbHelper::isInstalled()) {