Skip to content

Commit 1732798

Browse files
committed
2.2.1 updates
1 parent 5737ef0 commit 1732798

4 files changed

Lines changed: 5 additions & 2 deletions

File tree

diskover-web/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Diskover-web v2 Community Edition Change Log
22

3-
# [2.2.1] - 2023-10-17
3+
# [2.2.1] - 2023-11-03
44
### fixed
55
- Windows issues
6+
- hide php notices, warnings, deprecated messages from nginx error log
67

78

89
# [2.2.0] - 2023-10-07

diskover-web/src/diskover/Config.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
namespace diskover;
2222
use diskover\Constants;
2323
use ReflectionClass;
24+
error_reporting(E_ALL & ~E_WARNING & ~E_NOTICE & ~E_DEPRECATED);
2425

2526
class Config
2627
{

diskover-web/src/diskover/Diskover.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
session_start();
2020
use Elasticsearch\ClientBuilder;
2121
use Elasticsearch\Common\Exceptions\Missing404Exception;
22+
error_reporting(E_ALL & ~E_WARNING & ~E_NOTICE & ~E_DEPRECATED);
2223
require 'version.php';
2324
require 'config_inc.php';
2425

diskover/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Diskover v2 Community Edition Change Log
22

3-
# [2.2.1] - 2023-10-17
3+
# [2.2.1] - 2023-11-03
44
### changed
55
- version change only
66

0 commit comments

Comments
 (0)