contao/core — pull request #6939 by ausi (2014-05-02 14:39:32+00:00)
Title: Support extending system templates with the same name

Would make it possible to create a custom template extending a template from system/modules and at the same time overwriting it by giving it the same name. For example `templates/fe_page.html5`:

```html+php
extend('fe_page'); ?>
block('body'); ?>
...
endblock(); ?>
```

This would result in an infinite loop in the current implementation.