Verzeichnisstruktur phpBB-3.2.0
- Veröffentlicht
- 06.01.2017
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
convert.php
01 <?php
02 /**
03 *
04 * This file is part of the phpBB Forum Software package.
05 *
06 * @copyright (c) phpBB Limited <https://www.phpbb.com>
07 * @license GNU General Public License, version 2 (GPL-2.0)
08 *
09 * For full copyright and license information, please see
10 * the docs/CREDITS.txt file.
11 *
12 */
13
14 namespace phpbb\convert;
15
16 /**
17 * Class holding all convertor-specific details.
18 *
19 * WARNING: This file did not meant to be present in a production environment, so moving this file to a location which
20 * is accessible after board installation might lead to security issues.
21 */
22 class convert
23 {
24 var $options = array();
25
26 var $convertor_tag = '';
27 var $src_dbms = '';
28 var $src_dbhost = '';
29 var $src_dbport = '';
30 var $src_dbuser = '';
31 var $src_dbpasswd = '';
32 var $src_dbname = '';
33 var $src_table_prefix = '';
34
35 var $convertor_data = array();
36 var $tables = array();
37 var $config_schema = array();
38 var $convertor = array();
39 var $src_truncate_statement = 'DELETE FROM ';
40 var $truncate_statement = 'DELETE FROM ';
41
42 var $fulltext_search;
43
44 // Batch size, can be adjusted by the conversion file
45 // For big boards a value of 6000 seems to be optimal
46 var $batch_size = 2000;
47 // Number of rows to be inserted at once (extended insert) if supported
48 // For installations having enough memory a value of 60 may be good.
49 var $num_wait_rows = 20;
50
51 // Mysqls internal recoding engine messing up with our (better) functions? We at least support more encodings than mysql so should use it in favor.
52 var $mysql_convert = false;
53
54 var $p_master;
55
56 function convert($p_master)
57 {
58 $this->p_master = $p_master;
59 }
60 }
61