Templates are now compiled using PACKAGE_ID
authorAlexander Ebert <ebert@woltlab.com>
Mon, 19 Nov 2012 02:35:34 +0000 (03:35 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 19 Nov 2012 02:35:34 +0000 (03:35 +0100)
commit8547cdb2c4d1a4f5e80243c93a4e02d6d72a2b65
treeda9775c99a2e32e6ba4c0a7c68df5fbd3cd6bd22
parent6853e256d7aeec62765995be52d0fdbd78a9b2c2
Templates are now compiled using PACKAGE_ID

Previously compiled templates were stored with their origin's package id, which prevents duplicates among shared templates. This is dangerous when using template listeners, as they may be included in a different environment, but cause errors in other environments.

Fixes #911
wcfsetup/install/files/lib/system/template/TemplateEngine.class.php