-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathdb.tematres.php
96 lines (72 loc) · 2.68 KB
/
db.tematres.php
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?php
/*
* db.tematres.php
*
* Copyright 2011-2020 diego ferreyra <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*/
/*
Configuarcion de base de datos - Database Configuration
Select driver to use
Default: MySQLi , can be mysqli,postgres, oci8, mssql, and more: http://phplens.com/adodb/supported.databases.html
To default value, leave empty eg: $DBCFG["DBdriver"] ="";
*/
$DBCFG["DBdriver"] ="";
/** Dirección IP o nombre del servidor - IP Address of the database server */
$DBCFG["Server"] = "localhost";
/** Nombre de la base de datos Database name */
$DBCFG["DBName"] = "tematres";
/** Nombre de usuario - login */
$DBCFG["DBLogin"] = "root";
/** Passwords */
$DBCFG["DBPass"] = "pass";
/** Prefijo para tablas # Prefix for tables */
$DBCFG["DBprefix"] = "lc_";
/**
* In almost cases, you don't need to touch nothing here!!
*/
/** Default charset for the database */
$DBCFG["DBcharset"] ="utf8";
/** Modo debug = 1 // debug mode = 1 */
$DBCFG["debugMode"] = "0";
/** Persist connection to DB. TRUE = 1 // FALSE mode = 0. Default: TRUE */
$DBCFG["DBpersist"] = "1";
/** Use or not DSN. Default: DSN */
$DBCFG["DBmodeConnect"] = "DSN";
/** Config MySql engine type: MyISAM / InnoDB (default MyISAM to maintain back compatibility)*/
$DBCFG["DBengine"] = "MyISAM";
/** Define if storage hashed passwords or not (1 = Yes, 0 = No: default: 0) */
define('CFG_HASH_PASS', '1');
/** Change to whatever timezone you want */
if (date_default_timezone_get()!=ini_get('date.timezone')) {
date_default_timezone_set('Etc/UTC');
}
/** Absolute path to the directory where are located /common/include. */
if (!defined('T3_ABSPATH')) {
/** Use this for version of PHP < 5.3 */
define('T3_ABSPATH', dirname(__FILE__) . '/../');
/**
*
* Use this for version of PHP >= 5.3
*/
//~ define('T3_ABSPATH', dirname(__DIR__) . '/');
/**
*
* Use to define specific local path for common/include directory
*/
//~ define('T3_ABSPATH', '/home/my_name/tematres/');
};