# acymailing/11.0.4/back/Helpers/global/log.php

AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress, version 11.0.4. 15 lines.

- Page: https://pluginprobe.com/plugins/acymailing/11.0.4/code/back/Helpers/global/log.php
- Raw: https://pluginprobe.com/plugins/acymailing/11.0.4/raw/back/Helpers/global/log.php
- Modified: 2026-08-03T10:18:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/acymailing/11.0.4/code/back/Helpers/global/log.php#L10-L20`.

```php
<?php
defined('ABSPATH') || die('Restricted Access');

function acym_getLogPath(string $filename = '', bool $create = false): string
{
    $reportPath = ACYM_LOGS_FOLDER.$filename;
    $reportPath = acym_cleanPath(ACYM_ROOT.trim(html_entity_decode($reportPath)));

    if ($create) {
        acym_createDir(dirname($reportPath), true, true);
    }

    return $reportPath;
}

```
