瀏覽代碼

Close sessions when doing background jobs

tags/v6.0.0alpha2
Robin Appelman 11 年之前
父節點
當前提交
d3858e9f96
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      cron.php

+ 2
- 0
cron.php 查看文件

@@ -48,6 +48,8 @@ function handleUnexpectedShutdown() {
$RUNTIME_NOSETUPFS = true;
require_once 'lib/base.php';

session_write_close();

// Don't do anything if ownCloud has not been installed
if( !OC_Config::getValue( 'installed', false )) {
exit( 0 );

Loading…
取消
儲存