Closed (fixed)
Project:
Zend Framework
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 May 2008 at 20:10 UTC
Updated:
15 Jun 2008 at 17:53 UTC
Jump to comment: Most recent file
Comments
Comment #1
robloachOops, I think I accidently got rid of it....
Comment #2
robloachWill this do it?
Comment #3
mustafau commentedI prefer using require_once '';
Comment #4
robloachHow about this? Remember that it's probably better to use Zend_Initialize, because that uses what the Zend Framework recommends to use (the loader).
Comment #5
mustafau commentedZend Framework itself uses require_once. I don't think they are recommending Zend_Loader.
Zend_Loader is recommended only if class name is a variable and subject to change.
These examples from Zend_Feed.php shows how Zend Framework utilizes require_once and Zend_Loader:
Example for require_once:
Example for Zend_Loader:
Comment #6
mustafau commentedComment #7
robloachWould you mind committing this? I gave you CVS access, and am kind of busy right now. Feel free to commit anything else you feel appropriate too! :-)
Comment #8
mustafau commentedhttp://drupal.org/cvs?commit=118903
Thanks for giving me CVS access.
Comment #9
robloachThanks!
Comment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.