Jacek Kowalski
2026-02-16 b89f1de5088585a7d7ad122ff219017a35d41041
UcrmHelper: simplify getting root plugin directory
1 files modified
2 ■■■ changed files
src/UcrmHelper.php 2 ●●● patch | view | raw | blame | history
src/UcrmHelper.php
@@ -12,7 +12,7 @@
    function __construct(?string $rootDirectory = NULL) {
        if ($rootDirectory === NULL) {
            $rootDirectory = __DIR__ . '/..';
            $rootDirectory = dirname(__DIR__);
        }
        $this->rootDirectory = $rootDirectory;
    }