summaryrefslogtreecommitdiff
path: root/etc/global_config.php.sample
blob: 705f7812d77339e91a7230a50eeb13b8b5d5aed2 (plain)
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
<?php
# ----
# Copyright (C) 2013-2020 - Reevo Project (http://reevo.org)
# License: Affero GPL version 3 - http://www.gnu.org/licenses/agpl.html
# ----

## ES: Defina el usuario y contraseña para acceder a las DBs
## EN: Define user and password to access DBs

$REEVO_PATH = "/srv/reevo-2020";
$REEVO_URL = "reevo.test";
$REEVO_URL_CRM = "reevo.org";

$REEVO_PROTOCOL = "http";

$REEVO_DB_USER = "";
$REEVO_DB_PASS = "";

$REEVO_DB_WIKI 		= "reevo2020_wiki";
$REEVO_DB_WP		= "reevo2020_wp";
$REEVO_DB_CRM		= "reevo2020_crm";

$REEVO_WIKI_API_USER = "";
$REEVO_WIKI_API_PASS = "";

## Variables de MediaWiki que deben ser secretas
$wgSitename = "*REEVO TEST";
$wgServer = "$REEVO_PROTOCOL://$REEVO_URL";
$wgSecretKey = "";
$wgAuthenticationTokenVersion = "1";
$wgUpgradeKey = "";
$wgPageFormsGoogleMapsKey = "";
$egMapsGMaps3ApiKey = $wgPageFormsGoogleMapsKey;

## Variables de Wordpress que deben ser secretas
$WP_REEVO_AUTH_KEY =        '';
$WP_REEVO_SECURE_AUTH_KEY = '';
$WP_REEVO_LOGGED_IN_KEY =   '';
$WP_REEVO_NONCE_KEY =       '';
$WP_REEVO_AUTH_SALT =       '';
$WP_REEVO_SECURE_AUTH_SALT = '';
$WP_REEVO_LOGGED_IN_SALT =  '';
$WP_REEVO_NONCE_SALT =      '';

####### DEBUG
if( strpos( $REEVO_URL, 'test' ) !== false) {
	$wgShowExceptionDetails = true;
	$wgDebugComments = true;
	$wgDebugLogFile = "../../log/wiki/mediawiki.log";
	$wgShowSQLErrors = true;
	$wgDebugDumpSql  = true;
	$wgShowExceptionDetails= true;
	$wgShowDBErrorBacktrace = true;
}


?>