Make sure Gammu speaks english

Gammu returns localized messages whereas GammuAdapter searches for string "nothing".
Force Gammu to return english messages so word searches will work properly.
This fixes #172
This commit is contained in:
Orsiris de Jong 2022-10-17 19:15:32 +02:00 committed by GitHub
parent ad1f798ae6
commit f790adc6a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -188,6 +188,7 @@ namespace adapters;
}
$command_parts = [
'LC_ALL=C',
'gammu',
'--config',
escapeshellarg($this->data['config_file']),
@ -339,6 +340,7 @@ namespace adapters;
}
$command_parts = [
'LC_ALL=C',
'gammu',
'--config',
escapeshellarg($this->data['config_file']),
@ -351,6 +353,7 @@ namespace adapters;
//Check security status
$command_parts = [
'LC_ALL=C',
'gammu',
'--config',
escapeshellarg($this->data['config_file']),