summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bkp/bkp_wiki.sh2
-rwxr-xr-xbin/sync/database_auth.sh9
2 files changed, 2 insertions, 9 deletions
diff --git a/bin/bkp/bkp_wiki.sh b/bin/bkp/bkp_wiki.sh
index 369b1ce2..c9aef4a4 100755
--- a/bin/bkp/bkp_wiki.sh
+++ b/bin/bkp/bkp_wiki.sh
@@ -6,6 +6,8 @@
# EN: This file is part of: reevo-web (http://git.reevo.org/reevo/reevo-web)
# ----
+cd /srv/reevo-2020/bin/bkp/
+
RUTA=`cat ../../etc/global_config.php | grep '^$REEVO_PATH' | cut -d '"' -f 2`
DOMINIO=`cat $RUTA/etc/global_config.php | grep '^$REEVO_URL' | cut -d '"' -f 2`
USER=`cat $RUTA/etc/global_config.php | grep '^$REEVO_DB_USER' | cut -d '"' -f 2`
diff --git a/bin/sync/database_auth.sh b/bin/sync/database_auth.sh
deleted file mode 100755
index 3317b4a1..00000000
--- a/bin/sync/database_auth.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-# ES: Reemplaza con las credenciales de acceso a Mysql y renombra este archivo como "database_auth.sh"
-# EN: Replace with Mysql DB access information and rename this file as "database_auth.sh"
-
-USER="reevo_web"
-PASS="yaco22"
-DOMAIN="reevo.wiki"
-VERSION="ALFA"