diff options
author | Raul Ferreira Fuentes <Raudius@users.noreply.github.com> | 2022-04-11 10:09:19 +0300 |
---|---|---|
committer | Raul Ferreira Fuentes <raul@nextcloud.com> | 2022-04-11 10:12:13 +0300 |
commit | cc4a3a3778c685ec065485d5d501df585fc1489b (patch) | |
tree | 41de8bc235692ef23bff9b07a685259b4ae6b117 /lib | |
parent | 96c6378448046a86e10ecbbc25d60faee0a7fae8 (diff) |
Update naming scheme
Signed-off-by: Raul Ferreira Fuentes <raul@nextcloud.com>
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Raul Ferreira Fuentes <raul@nextcloud.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/AppInfo/Application.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 46a8adab..4db26d87 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -200,9 +200,9 @@ class Application extends App implements IBootstrap { // Do not apply CSP rules on WebDAV/OCS // Ideally this could be a middleware running after the controller execution before rendering the result to only do it on page response - $script_name_parts = explode('/', $container->getServer()->getRequest()->getScriptName()); - $script_file = end($script_name_parts); - if ($script_file !== 'index.php') { + $scriptNameParts = explode('/', $container->getServer()->getRequest()->getScriptName()); + $scriptFile = end($scriptNameParts); + if ($scriptFile !== 'index.php') { return; } |