[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] tiki-editpage.php was requiring lib/debug/Trace.php before...

Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69525dbf57811_2a17fe1c78136@gitlab-sidekiq-low-urgency-cpu-bound-v2-5bd8dbbcb-rbxxr.mail>

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


Commits:
c7d0fed8 by Benoit Grégoire at 2025-12-29T10:45:59+00:00
[FIX] tiki-editpage.php was requiring lib/debug/Trace.php before...
---
* [FIX] tiki-editpage.php was requiring lib/debug/Trace.php before tiki-setup.php, causing fatal errors for undefined constants

See merge request tikiwiki/tiki!9285

- - - - -


1 changed file:

- tiki-editpage.php


Changes:

=====================================
tiki-editpage.php
=====================================
@@ -16,7 +16,6 @@
 
 $dieInsteadOfForwardingWithHeader = false;
 global $prefs;
-require_once('lib/debug/Tracer.php');
 
 $inputConfiguration = [
     [ 'staticKeyFilters' => [
@@ -30,6 +29,7 @@ $inputConfiguration = [
 $section = "wiki page";
 $section_class = "tiki_wiki_page manage";   // This will be body class instead of $section
 require_once('tiki-setup.php');
+require_once('lib/debug/Tracer.php');
 $wikilib = TikiLib::lib('wiki');
 $structlib = TikiLib::lib('struct');
 $notificationlib = TikiLib::lib('notification');



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

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/c7d0fed86694450dadb28b3f928d378fd4cc34f3
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.