Parcourir la source

Close sessions when doing background jobs

tags/v6.0.0alpha2
Robin Appelman il y a 11 ans
Parent
révision
d3858e9f96
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2
    0
      cron.php

+ 2
- 0
cron.php Voir le fichier

@@ -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 );

Chargement…
Annuler
Enregistrer