Page MenuHomeDevCentral

Switch Smarty from bundled library to Composer package
ClosedPublic

Authored by dereckson on Sun, Oct 19, 21:38.

Details

Summary

Smarty was previously bundled with the application.

This change requires Smarty as a Composer package.

Diff Detail

Repository
rOBSIDIAN Obsidian Workspaces
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.

This is a more straightforward compared to the Zed same change:

  • we already have a method to initialize the template engine in Context class
  • we don't have custom plugin

But see also this big Smarty templates upgrade for PHP 8.1 where extra logic for Azhàr variables have been added to the engine class.

This revision is now accepted and ready to land.Sun, Oct 19, 21:43