Skip to content

Commit

Permalink
Undefined constant "Kunena\Forum\Libraries\Factory\KPATH_ADMIN" #9669
Browse files Browse the repository at this point in the history
  • Loading branch information
xillibit committed Apr 18, 2024
1 parent 46d1f80 commit 51a72f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libraries/kunena/src/Factory/KunenaFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public static function loadLanguage($file = 'com_kunena', $client = 'site'): boo
} else {
$client = 'admin';
$lookup1 = JPATH_ADMINISTRATOR;
$lookup2 = KPATH_ADMIN;
$lookup2 = JPATH_ADMINISTRATOR . '/components/com_kunena';
}

if (empty($loaded["{$client}/{$file}"])) {
Expand Down

0 comments on commit 51a72f1

Please sign in to comment.