[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] PluginController: safeFileExistsInPath missing second argument

"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69c3cdb6e0cc5_3b18decc3097b@gitlab-sidekiq-low-urgency-cpu-bound-v2-847db959-2zv9z.mail>

Victor Emanouilov pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
f2b68cf9 by Moïse Nturubika at 2026-03-25T11:49:22+00:00
[FIX] PluginController: safeFileExistsInPath missing second argument
---
* [FIX] PluginController: safeFileExistsInPath missing second argument

See merge request tikiwiki/tiki!9606

- - - - -


1 changed file:

- lib/core/Services/Edit/PluginController.php


Changes:

=====================================
lib/core/Services/Edit/PluginController.php
=====================================
@@ -270,7 +270,7 @@ class Services_Edit_PluginController
                     $pluginArgs['module'] = $selectedMod;
                 }
                 $file = 'modules/mod-func-' . $pluginArgs['module'] . '.php';
-                if ($file = TikiLib::lib('tiki')->safeFileExistsInPath($file)) {
+                if ($file = TikiLib::lib('tiki')->safeFileExistsInPath($file, 'modules/')) {
                     include_once($file);
                     $info_func = "module_{$pluginArgs['module']}_info";
                     if (function_exists($info_func)) {



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/f2b68cf99f12cca7c89bd34ae187b7ad4988957e

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/f2b68cf99f12cca7c89bd34ae187b7ad4988957e
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.