diff --git a/README.md b/README.md index f853337..5e66bc0 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # AMWSCAN - PHP Antimalware Scanner -**Version:** 0.5.0.70 beta +**Version:** 0.5.0.71 beta **Github:** https://github.com/marcocesarato/PHP-Antimalware-Scanner diff --git a/dist/scanner b/dist/scanner index 7240764..112eaa7 100644 Binary files a/dist/scanner and b/dist/scanner differ diff --git a/dist/version b/dist/version index 0c991ac..24705e7 100644 --- a/dist/version +++ b/dist/version @@ -1 +1 @@ -0.5.0.70 \ No newline at end of file +0.5.0.71 \ No newline at end of file diff --git a/src/Application.php b/src/Application.php index 858087d..736a31a 100644 --- a/src/Application.php +++ b/src/Application.php @@ -34,7 +34,7 @@ class Application * * @var string */ - public static $VERSION = '0.5.0.70'; + public static $VERSION = '0.5.0.71'; /** * Root path. @@ -1081,6 +1081,6 @@ private function convertToBytes($from) */ public static function currentDirectory() { - return preg_replace('/^phar:\/\//i', '', __DIR__); + return dirname(preg_replace('/^phar:\/\//i', '', __DIR__), 1); } } diff --git a/src/index.php b/src/index.php index 7e95030..3408d24 100644 --- a/src/index.php +++ b/src/index.php @@ -2,14 +2,14 @@ namespace marcocesarato\amwscan; -include './Argument.php'; -include './Argv.php'; -include './Console.php'; -include './CSV.php'; -include './Definitions.php'; -include './Flag.php'; -include './Deobfuscator.php'; -include './Application.php'; +include 'Argument.php'; +include 'Argv.php'; +include 'Console.php'; +include 'CSV.php'; +include 'Definitions.php'; +include 'Flag.php'; +include 'Deobfuscator.php'; +include 'Application.php'; $isCLI = (php_sapi_name() === 'cli'); if (!$isCLI) {