mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
system: improve wording as debug no longer exists #5889
This commit is contained in:
parent
7c42dfa319
commit
e58d7de7d4
@ -133,7 +133,7 @@ function webgui_configure_do($verbose = false, $interface = '')
|
||||
/* regenerate the php.ini files in case the setup has changed */
|
||||
configd_run('template reload OPNsense/WebGui');
|
||||
|
||||
/* we need a marker file for debug mode to ensure quick action */
|
||||
/* we need a marker file for development mode to ensure quick action */
|
||||
if (empty($config['system']['deployment'])) {
|
||||
@unlink('/var/run/development');
|
||||
} else {
|
||||
|
||||
@ -191,7 +191,7 @@ if ($has_crashed) {
|
||||
if ($is_prod) {
|
||||
$message = gettext('An issue was detected.');
|
||||
} else {
|
||||
$message = gettext('Non-production deployment is configured so crash reports cannot be sent.');
|
||||
$message = gettext('Development deployment is configured so crash reports cannot be sent.');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user