Skip to content

Commit 9063514

Browse files
committed
Update config + update README.
1 parent dd17029 commit 9063514

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## **What is phpMussel?**
88

9-
An ideal solution for shared hosting environments, where it's often not possible to utilise or install conventional anti-virus protection solutions, phpMussel is a PHP script designed to **detect trojans, viruses, malware and other threats** within files uploaded to your system wherever the script is hooked, based on the signatures of [ClamAV](https://www.clamav.net/) and others. For information regarding *HOW TO INSTALL* {2A+2B} and *HOW TO USE* {3A+3B} phpMussel, please refer either to the [Wiki](https://github.com/phpMussel/phpMussel/wiki) or to the [documentation](https://github.com/phpMussel/Docs/tree/master) (direct links to that documentation included under the "Documentation" header below this paragraph).
9+
An ideal solution for shared hosting environments, where it's often not possible to utilise or install conventional anti-virus protection solutions, phpMussel is a PHP script designed to **detect trojans, viruses, malware and other threats** within files uploaded to your system wherever the script is hooked, based on the signatures of [ClamAV](https://www.clamav.net/) and others. For information regarding *HOW TO INSTALL* and *HOW TO USE* phpMussel, please refer either to the [Wiki](https://github.com/phpMussel/phpMussel/wiki) or to the [documentation](https://github.com/phpMussel/Docs/tree/master) (direct links to that documentation included under the "Documentation" header below this paragraph).
1010

1111
---
1212

@@ -31,9 +31,15 @@ require $Vendor . DIRECTORY_SEPARATOR . 'autoload.php';
3131
$Loader = new \phpMussel\Core\Loader();
3232
$Scanner = new \phpMussel\Core\Scanner($Loader);
3333
$Web = new \phpMussel\Web\Web($Loader, $Scanner);
34+
$Loader->Events->addHandler('sendMail', new \phpMussel\PHPMailer\Linker($Loader));
3435

36+
// Scans file uploads (execution terminates here if the scan finds anything).
3537
$Web->scan();
3638

39+
// Fixes possible corrupted file upload names (Warning: modifies the content of $_FILES).
40+
$Web->demojibakefier();
41+
42+
// Cleanup.
3743
unset($Web, $Scanner, $Loader);
3844

3945
?><html>
@@ -64,4 +70,4 @@ __*Screenshot:*__
6470
---
6571

6672

67-
Last Updated: 6 July 2020 (2020.07.06).
73+
Last Updated: 20 July 2020 (2020.07.20).

assets/config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Configuration defaults file (last modified: 2020.06.23).
10+
# This file: Configuration defaults file (last modified: 2020.07.15).
1111
##/
1212

1313
web:
@@ -35,7 +35,6 @@ web:
3535
bluemetal: "Blue Metal"
3636
moss: "Moss"
3737
fullmoon: "Full Moon"
38-
choice_filter: "filterTheme"
3938
magnification:
4039
type: "float"
4140
step: "any"

0 commit comments

Comments
 (0)