Skip to content

Commit 3fd0ca7

Browse files
committed
fix: news: Use correct path to logfile.
1 parent a4b7a42 commit 3fd0ca7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Helpers/utility_helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ function createNewsData()
541541

542542
$path = '/usr/local/open-audit/writable/logs/';
543543
if (php_uname('s') === 'Windows NT') {
544-
$logfile = 'c:\\xampp\\open-audit\\writable\\logs\\';
544+
$path = 'c:\\xampp\\open-audit\\writable\\logs\\';
545545
}
546546
$files = array_diff(scandir($path), array('.', '..', 'index.html'));
547547
foreach ($files as $file) {

0 commit comments

Comments
 (0)