Fix for Smarty base plugins in multi app environment (like Yii Boilerplate)