d3943afe5ae8475fc4afcfbf57765d921aaf32d5
[lhc/web/www.git] / www / plugins-dist / dump / connect / dump.php
1 <?php
2
3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
5 * *
6 * Copyright (c) 2001-2016 *
7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
8 * *
9 * Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
10 * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
11 \***************************************************************************/
12
13 if (!defined('_ECRIRE_INC_VERSION')) {
14 return;
15 }
16
17 /**
18 * Se reconnecter a la base sqlite dont le nom est stocke dans le fichier de statut
19 */
20
21 include_spip('inc/dump');
22 if ($args = dump_serveur()) {
23 $GLOBALS['spip_connect_version'] = 0.7;
24 if (call_user_func_array('spip_connect_db', $args)) {
25 define('_DUMP_SERVEUR_OK', true);
26 }
27 }