File: base_restaurer.php

package info (click to toggle)
spip 4.4.9%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 39,800 kB
  • sloc: php: 299,823; javascript: 67,976; xml: 4,389; sh: 165; makefile: 92
file content (28 lines) | stat: -rw-r--r-- 1,024 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php

/***************************************************************************\
 *  SPIP, Système de publication pour l'internet                           *
 *                                                                         *
 *  Copyright © avec tendresse depuis 2001                                 *
 *  Arnaud Martin, Antoine Pitrou, Philippe Rivière, Emmanuel Saint-James  *
 *                                                                         *
 *  Ce programme est un logiciel libre distribué sous licence GNU/GPL.     *
\***************************************************************************/

/**
 * Gestion d'affichage de la page en cas de restauration interrompue
 */

if (!defined('_ECRIRE_INC_VERSION')) {
	return;
}

/**
 * Finir une restauration interrompue par logout
 */
function exec_base_restaurer_dist() {
	include_spip('base/dump');
	$status_file = base_dump_meta_name(0) . '_restauration';
	$restaurer = charger_fonction('restaurer', 'action');
	$restaurer($status_file);
}