Skip to content
Permalink
Browse files

Avoid multiple RunTimeException

  • Loading branch information...
antograssiot committed Sep 13, 2014
1 parent 828efb0 commit 3237de6e719d818b02853fad5d4ddcae247ab11d
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/Network/Session.php
@@ -311,9 +311,7 @@ public function start() {
}
if (ini_get('session.use_cookies') && headers_sent($file, $line)) {
throw new \RuntimeException(
sprintf('Cannot start session, headers already sent in "%s" at line %d', $file, $line)
);
return;
}
if (!session_start()) {

0 comments on commit 3237de6

Please sign in to comment.
You can’t perform that action at this time.