[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [FIX] webservices: Fix the parsing/compilation of templates for webservices
"Jonny Bradley \(@jonnybradley\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <69d51ce0b127e_3a19116c49165@gitlab-sidekiq-low-urgency-cpu-bound-v2-797d8668fd-5tc7j.mail> |
Jonny Bradley pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki Commits: 27c89e89 by Jonny Bradley at 2026-04-07T15:03:54+00:00 [FIX] webservices: Fix the parsing/compilation of templates for webservices --- * [FIX] webservices: Fix the parsing/compilation of templates for webservices, lost in the upgrade to Smarty 5 See merge request tikiwiki/tiki!9798 (cherry picked from commit 989943b23e19a05adc5d0e618ecd5b6471805ab5) ff6282b0 [FIX] webservices: Fix the parsing/compilation of templates for webservices,... Co-authored-by: Jonny Bradley <[email protected]> (cherry picked from commit 5a37dc9281dee11fa452a9d1afdc01bbe31649fb) Co-authored-by: Jonny Bradley <[email protected]> - - - - - 1 changed file: - lib/core/Tiki/Smarty/SmartyTiki.php Changes: ===================================== lib/core/Tiki/Smarty/SmartyTiki.php ===================================== @@ -642,6 +642,11 @@ class SmartyTiki extends Smarty $this->addLayoutTemplatesFromTemplatePath(SMARTY_TEMPLATES_PATH); $this->addTemplateDir($this->main_template_dir); + // webservices create temporary templates + if ($prefs['feature_webservices'] === 'y') { + $this->addTemplateDir(realpath(TEMP_CACHE_PATH)); + } + //Test templates $this->addTemplateDir(TIKI_PATH . '/lib/test/core/Search/'); //var_dump($this->getTemplateDir()); View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/27c89e893a9ed908f5d00dfa9b65d473b0dde26d -- View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/27c89e893a9ed908f5d00dfa9b65d473b0dde26d 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