[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Cypht integration: Fix Cypht environment initialization

Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <697d03fc6fce9_3b92a9141641@gitlab-sidekiq-low-urgency-cpu-bound-v2-6ccf9f486c-chfdc.mail>

Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
1deb5399 by Joseph Lwanzo Kausi at 2026-01-30T19:09:29+00:00
[FIX] Cypht integration: Fix Cypht environment initialization
---
* [FIX] Cypht integration: Fix Cypht environment initialization

See merge request tikiwiki/tiki!9451

- - - - -


1 changed file:

- lib/core/Services/Cypht/Controller.php


Changes:

=====================================
lib/core/Services/Cypht/Controller.php
=====================================
@@ -5,7 +5,6 @@
 // All Rights Reserved. See copyright.txt for details and a complete list of authors.
 // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
 
-require_once __DIR__ . '/../../../../lib/cypht/integration/classes.php';
 class Services_Cypht_Controller
 {
     public function action_ajax($input)
@@ -17,6 +16,8 @@ class Services_Cypht_Controller
             $session_prefix = 'cypht';
         }
 
+        require_once $tikipath . '/lib/cypht/integration/classes.php';
+
         // all ajax cypht requests work with closed session, so they can run concurrently
         // handle reopening upon write in the integration class
         session_write_close();



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

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/1deb5399430dc7edf195545f5612cf2e9785d7c3
You're receiving this email because of your account on gitlab.com.

_______________________________________________
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.