diff options
Diffstat (limited to 'etc/global_config.php.sample')
-rwxr-xr-x | etc/global_config.php.sample | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/etc/global_config.php.sample b/etc/global_config.php.sample new file mode 100755 index 00000000..705f7812 --- /dev/null +++ b/etc/global_config.php.sample @@ -0,0 +1,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; +} + + +?> |