Skip to content

Commit

Permalink
Fix typos in comments.
Browse files Browse the repository at this point in the history
Not incrementing the version because there was no functional code changes. Just silly typos in code comments. The substance/rationale of the comments wasn't changed.
  • Loading branch information
zelon88 committed Mar 29, 2019
1 parent 4120b90 commit 1d319b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scanCore.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function cleanFiles($path) {
// / -----------------------------------------------------------------------------------

// / -----------------------------------------------------------------------------------
// / The following code creates required data directoreis if they do not exist.
// / The following code creates required data directories if they do not exist.
if (!is_dir($ScanLoc)) {
$txt = ('ERROR!!! HRScan278, The specified ScanLoc does not exist at '.$ScanLoc.' on '.$Time.'.');
$MAKELogFile = file_put_contents($LogFile, $txt.PHP_EOL, FILE_APPEND); }
Expand Down Expand Up @@ -223,7 +223,7 @@ function cleanFiles($path) {
// / -----------------------------------------------------------------------------------

// / -----------------------------------------------------------------------------------
// / The following code is performed when a user selects to Clamscan the files they've uploaded with ClamAV.
// / The following code is performed when a user selects to scan the files they've uploaded with ClamAV.
if (isset($_POST["clamScanButton"])) {
$_POST['clamScanButton'] = str_replace('//', '/', str_replace('///', '/', str_replace(str_split('[]{};:$!#^&%@>*<'), '', $_POST['clamScanButton'])));
$txt = ('OP-Act: Initiated ClamScanner on '.$Time.'.');
Expand Down Expand Up @@ -286,7 +286,7 @@ function cleanFiles($path) {
// / -----------------------------------------------------------------------------------

// / -----------------------------------------------------------------------------------
// / The following code consolididates the logfiles from ClamAV and PHP-AV when the ScanAll button is selected.
// / The following code consolidates the logfiles from ClamAV and PHP-AV when the ScanAll button is selected.
if ($ConsolidateLogs === 1) {
$spacer = '----------';
$txt1 = 'OP-Act: User selected to scan all files on '.$Time.'.';
Expand All @@ -313,4 +313,4 @@ function cleanFiles($path) {
if (isset($_GET['showFiles']) or isset($_POST['showFiles'])) require_once('scanGui2.php');
if (!isset($_GET['showFiles'])) require_once('scanGui1.php');
// / -----------------------------------------------------------------------------------
?>
?>

0 comments on commit 1d319b1

Please sign in to comment.