diff options
author | robocoder <anthon.pang@gmail.com> | 2010-07-06 17:37:59 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2010-07-06 17:37:59 +0400 |
commit | f2a0232aca7ed6e34f2cba80cb2862d7d3e644d7 (patch) | |
tree | 707dc59967d3ff1d23995ae866c7a7931a559518 /core/Session.php | |
parent | e57dc742fbef3184c901f9cea0b12830d3ccda0f (diff) |
refs r2426 - added loadClass() method
git-svn-id: http://dev.piwik.org/svn/trunk@2434 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Session.php')
-rw-r--r-- | core/Session.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/Session.php b/core/Session.php index 49969f2066..490e1b2ce5 100644 --- a/core/Session.php +++ b/core/Session.php @@ -67,6 +67,11 @@ class Piwik_Session extends Zend_Session } } - Zend_Session::start(); + try { + Zend_Session::start(); + } catch(Exception $e) { + // This message is not translateable because translations haven't been loaded yet. + Piwik_ExitWithMessage('Unable to start session. Check that session.save_path or tmp/sessions is writeable.'); + } } } |