Wedge
Public area => Bug reports => The Pub => Archived fixes => Topic started by: CerealGuy on December 23rd, 2014, 10:47 PM
-
Template modifications via plugin arent working because apply_plugin_mods only gets called when core file is newer than the cached file or the cached file doesnt exist. I'm not 100% sure, but probaby some template cache flushing is needed when enabling a plugin :hmm:.
EDIT:
ManagePlugins.php, clean_cache('php', '', CACHE_DIR . '/html'); is needed in enable and disable plugin. Than it works correctly. But why do you clean everything?
But here two improvements:
1. If plugin has no mods.xml you dont need to clean the cache
2. Only delete files which are in mods.xml
https://github.com/C3realGuy/wedge/commit/5483d6291ea16aac7ffaf88653b2cc0b2e2f78dc