summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/Sources/Services/opengnsys.init2
-rw-r--r--admin/WebConsole/includes/restfunctions.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/admin/Sources/Services/opengnsys.init b/admin/Sources/Services/opengnsys.init
index 8917e2b5..537bddcf 100755
--- a/admin/Sources/Services/opengnsys.init
+++ b/admin/Sources/Services/opengnsys.init
@@ -21,7 +21,7 @@ CLIENTLOGDIR=$BASEDIR/log/clients
#
# Servidor de OpenGnsys
#
-SERVERNAME=ogAdmServer
+SERVERNAME=ogserver
SERVERCFG=$BASEDIR/etc/$SERVERNAME.cfg
#
diff --git a/admin/WebConsole/includes/restfunctions.php b/admin/WebConsole/includes/restfunctions.php
index b1355e36..81821ff9 100644
--- a/admin/WebConsole/includes/restfunctions.php
+++ b/admin/WebConsole/includes/restfunctions.php
@@ -82,7 +82,7 @@ define('OG_SCHEDULE_COMMAND', 'command');
define('OG_SCHEDULE_PROCEDURE', 'procedure');
define('OG_SCHEDULE_TASK', 'task');
-$conf_file = parse_ini_file(__DIR__ . '/../../etc/ogAdmServer.cfg');
+$conf_file = parse_ini_file(__DIR__ . '/../../etc/ogserver.cfg');
define('OG_REST_API_TOKEN', 'Authorization: ' . $conf_file['APITOKEN']);
function common_request($command, $type, $data = null) {