diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-03-27 20:49:05 +0000 |
|---|---|---|
| committer | Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de> | 2023-03-27 20:49:05 +0000 |
| commit | 974691ee8ec6568b17d1066b377cc173df875709 (patch) | |
| tree | e778a8d5a3152af5c3857da901b0c3091714cc60 /public/api.php | |
| parent | e605e048d00c009b5511fef2635968786304fdb3 (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.php | 2 |
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)) { |
