diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2020-06-19 12:33:10 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-06-19 15:07:23 +0200 |
commit | c583144e36023399425ac0b05460afd1b519eb5b (patch) | |
tree | 2b90c0f303de82daf41f984b0708d13c75db97d0 /admin | |
parent | f6e87d351413b9b2b3a09ffd54d71ebc4280222a (diff) |
#986 Rename to ogserver
Step forward to rename all ogAdmServer references to ogServer
Diffstat (limited to 'admin')
-rwxr-xr-x | admin/Sources/Services/opengnsys.init | 2 | ||||
-rw-r--r-- | admin/WebConsole/includes/restfunctions.php | 2 |
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) { |