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
-
Fabrice Luraine July 1st, 2009 @ 04:47 PM
- State changed from new to resolved
(from [88838d16150f43620baff114ad0a2884e7ad918f]) configure is now called first and bib dir is loaded after [#10 state:resolved] http://github.com/sofadesign/limonade/commit/88838d16150f43620baff1...
-
Fabrice Luraine July 1st, 2009 @ 04:54 PM
- Milestone set to Release 0.3 - Citronnade
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.
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
- 10 libs should be loaded after user configuration (from [88838d16150f43620baff114ad0a2884e7ad918f]) configu...