But since ocmod and vQmod are both made to trigger on physical files as they are included, this override process bypasses both modification systems.
So this is a free simple script to save that database output to a temp file, and then pass that temp file into vQmod to apply any scripts to the modified version. It won't add ocmod support however as that has to be handled differently, but at least vQmod scripts will now trigger correctly on this override content.
In the case of errors, it will still report the original file (not the temp override file) as not having a match, so be conscientious of that.
vqcache files will match the temp override name which will be in this naming format:
Code: Select all
vq2-system_storage_override_common_home.php