source: spip-zone/_plugins_/blockreferer/base/blockreferer_db.php @ 70524

Last change on this file since 70524 was 15695, checked in by pierre.andrews@…, 13 years ago

creation de la base ppour la BL.

File size: 1.2 KB
Line 
1<?php
2
3/*
4 *   Plugin Blockreferer
5 *   Copyright (C) 2007 Pierre Andrews
6 *
7 *   This program is free software: you can redistribute it and/or modify
8 *   it under the terms of the GNU General Public License as published by
9 *   the Free Software Foundation, either version 3 of the License, or
10 *   (at your option) any later version.
11 *
12 *   This program is distributed in the hope that it will be useful,
13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 *   GNU General Public License for more details.
16 *
17 *   You should have received a copy of the GNU General Public License
18 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 */
20
21
22$GLOBALS['blockrefererdb_version'] = 1;
23
24$spip_blockreferer_blacklist = array(
25                                                         "referer_md5" => "BIGINT UNSIGNED NOT NULL",
26                                                         "referer"      => "VARCHAR (255) NOT NULL",
27                                                         "maj"          => "TIMESTAMP");
28
29$spip_blockreferer_blacklist_key = array(
30                                                                 "PRIMARY KEY" => "referer_md5");
31
32global $tables_auxiliaires;
33$tables_auxiliaires['spip_blockreferer_blacklist'] = array(
34                                                                                                   'field' => &$spip_blockreferer_blacklist,
35                                                                                                   'key' => &$spip_blockreferer_blacklist_key);
36
37?>
38
Note: See TracBrowser for help on using the repository browser.