Loading admin/actions/fichiers-vers-filesystem.php +1 −1 Changes for admin/actions/fichiers-vers-filesystem.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ if (!$conf['stockage'] == 'file') { $dir = $conf['dir']; if (substr($dir, -1) != '/') $dir .= '/'; $f = $bdd->select('SELECT ID, CONTENU FROM FICHIER WHERE CONTENU IS NOT NULL AND ID < 1002', [], ['fetch' => $bdd::FETCH_EACH]); $f = $bdd->select('SELECT ID, CONTENU FROM FICHIER WHERE CONTENU IS NOT NULL', [], ['fetch' => $bdd::FETCH_EACH]); $count = (int)$bdd->select('SELECT COUNT(*) c FROM FICHIER WHERE CONTENU IS NOT NULL', [], ['fetch' => $bdd::FETCH_ONE])['C']; $i = 0; $c->begin("Transfert du contenu des fichiers de la base de données vers le système de fichiers"); Loading Loading
admin/actions/fichiers-vers-filesystem.php +1 −1 Changes for admin/actions/fichiers-vers-filesystem.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ if (!$conf['stockage'] == 'file') { $dir = $conf['dir']; if (substr($dir, -1) != '/') $dir .= '/'; $f = $bdd->select('SELECT ID, CONTENU FROM FICHIER WHERE CONTENU IS NOT NULL AND ID < 1002', [], ['fetch' => $bdd::FETCH_EACH]); $f = $bdd->select('SELECT ID, CONTENU FROM FICHIER WHERE CONTENU IS NOT NULL', [], ['fetch' => $bdd::FETCH_EACH]); $count = (int)$bdd->select('SELECT COUNT(*) c FROM FICHIER WHERE CONTENU IS NOT NULL', [], ['fetch' => $bdd::FETCH_ONE])['C']; $i = 0; $c->begin("Transfert du contenu des fichiers de la base de données vers le système de fichiers"); Loading