summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/controllers/Main.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/controllers/Main.php b/application/controllers/Main.php
index 279d34520..31100f3d7 100644
--- a/application/controllers/Main.php
+++ b/application/controllers/Main.php
@@ -74,6 +74,7 @@ class Main extends MY_Controller {
function _download()
{
+ session_write_close();
$id = $this->uri->segment(1);
$lexer = urldecode($this->uri->segment(2));
@@ -469,6 +470,7 @@ class Main extends MY_Controller {
function thumbnail()
{
+ session_write_close();
$id = $this->uri->segment(3);
if (!$this->mfile->valid_id($id)) {