mirror of
https://github.com/freescout-helpdesk/freescout.git
synced 2024-11-24 19:33:07 +01:00
Helper::isDev() function
This commit is contained in:
parent
8a667cb8a2
commit
2befc5c172
@ -1363,4 +1363,9 @@ class Helper
|
||||
{
|
||||
return (bool)app('request')->input('print');
|
||||
}
|
||||
|
||||
public static function isDev()
|
||||
{
|
||||
return config('app.env') != 'production';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user