mirror of
https://github.com/grocy/grocy.git
synced 2026-07-27 16:07:21 -07: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