s9y/additional_plugins — comment on commit f25165fa5cd9509f9cf12f4e2ae551227cac704a
File: serendipity_event_oembed/OEmbedTemplater.php line 21
By ophian:

I am still not sure you really need this at all, particulary after adding this global allowed trustedResourceDir thing by Garvin.... but
why not use the Smarty::SMARTY_VERSION thing here, as it depends on and asks about Smarty3 only?

Another question: Did the smarty2 users with some other path than /plugins dir, not recommend to unset security for them here too?
As far as I see, with that global allowed trustedResourceDir thing there should only be smarty2 user left, to have security set to false, if using a different plugins path. This is possible by if (!Smarty::SMARTY_VERSION) {} or if($serendipity['smarty']->_version) {}