#10 ✓resolved
Leonard Chin

libs should be loaded after user configuration

Reported by Leonard Chin | June 14th, 2009 @ 03:53 AM | in Release 0.3 - Citronnade

In run(), because user configuration is loaded (step 4) AFTER the lib_dirs are required (step 2), the framework user can't easily change the lib_dir option in a useful way.

i.e. even if I change lib_dir in configure(), the libs in the new lib_dir are not loaded. I think that the typical user will expect that a change to lib_dir in configure will still allow lib_dir to be required properly.

I propose that the run order be changed slightly to accommodate:
1. set error handling
2. set user configuration
3. load libs
4. set default methods
5. check request

Forked here: http://github.com/l15n/limonade/tree/master

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