summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2019-08-29 18:29:41 -0300
committerYaco <franco@reevo.org>2019-08-29 18:29:41 -0300
commitae4682816c0230c50df482520d68dcdf5cdc7da3 (patch)
tree527fe5f90d7a665a7c67ccd992b28564cba63567 /bin
parentf14795b63309d71ab649c3cedad67b249b19e763 (diff)
corrige ruta absoluta
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"