mirror of
https://github.com/grocy/grocy.git
synced 2025-10-14 17:24:07 +00:00
Prefix all global vars
This commit is contained in:
@@ -20,7 +20,7 @@ class UrlManager
|
||||
|
||||
public function ConstructUrl($relativePath, $isResource = false)
|
||||
{
|
||||
if (DISABLE_URL_REWRITING === false || $isResource === true)
|
||||
if (GROCY_DISABLE_URL_REWRITING === false || $isResource === true)
|
||||
{
|
||||
return rtrim($this->BasePath, '/') . $relativePath;
|
||||
}
|
||||
|
Reference in New Issue
Block a user