#18 ✓resolved
Fabrice Luraine

Bug setting an error_layout()

Reported by Fabrice Luraine | July 30th, 2009 @ 04:29 PM | in Release 0.4 - Fresh Mint And Ginger

When setting a user_layout, the default error renderers still search the layout in the limonade default views directory (option('limonade_views_dir')) instead of the user views directory.

When setting a user error layout for the first time with error_layout(), we need to check a flag somewhere to informe default error views that they need to use the user views directory (option('views_dir')). Perhaps by setting an option('error_views_dir') ?

Before solving that bug, you can still fix the problement by setting your own error renders (not_found and server_error functions)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Limonade is a PHP micro-framework.

People watching this ticket

Referenced by

Pages