aboutsummaryrefslogtreecommitdiff
path: root/public/api.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2023-03-27 20:49:05 +0000
committerElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2023-03-27 20:49:05 +0000
commit974691ee8ec6568b17d1066b377cc173df875709 (patch)
treee778a8d5a3152af5c3857da901b0c3091714cc60 /public/api.php
parente605e048d00c009b5511fef2635968786304fdb3 (diff)
use camcelCase instead of snake case, re #2030
Merge request studip/studip!1668
Diffstat (limited to 'public/api.php')
-rw-r--r--public/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/api.php b/public/api.php
index 1376ae4..762c140 100644
--- a/public/api.php
+++ b/public/api.php
@@ -45,7 +45,7 @@ namespace RESTAPI {
// Initialize RESTAPI plugins
\PluginEngine::getPlugins('RESTAPIPlugin');
- $uri = \Request::path_info();
+ $uri = \Request::pathInfo();
// Check version
if (defined('RESTAPI\\VERSION') && preg_match('~^/v(\d+)~i', $uri, $match)) {