summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/includes
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2020-06-19 12:33:10 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-19 15:07:23 +0200
commitc583144e36023399425ac0b05460afd1b519eb5b (patch)
tree2b90c0f303de82daf41f984b0708d13c75db97d0 /admin/WebConsole/includes
parentf6e87d351413b9b2b3a09ffd54d71ebc4280222a (diff)
#986 Rename to ogserver
Step forward to rename all ogAdmServer references to ogServer
Diffstat (limited to 'admin/WebConsole/includes')
-rw-r--r--admin/WebConsole/includes/restfunctions.php2
1 files changed, 1 insertions, 1 deletions
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) {