mirror of
https://github.com/grocy/grocy.git
synced 2025-09-16 09:51:30 +00:00
Prefix all global vars
This commit is contained in:
@@ -9,7 +9,7 @@ class ApplicationService extends BaseService
|
||||
*/
|
||||
public function IsDemoInstallation()
|
||||
{
|
||||
return file_exists(DATAPATH . '/demo.txt');
|
||||
return file_exists(GROCY_DATAPATH . '/demo.txt');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user