Need a way to get the Zend Framework path so it's easy to include libraries.
Would also be neat to have:
zend_include('Gdata.php');
... To include Zend/Gdata.php cleanly.
Need a way to get the Zend Framework path so it's easy to include libraries.
Would also be neat to have:
zend_include('Gdata.php');
... To include Zend/Gdata.php cleanly.
Comments
Comment #1
robloachComment #2
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
mustafau commentedAll includes inside Zend Framework start with
"Zend/...".I think
zend_include('Zend/Gdata.php')is more meaningful.Additionally a function like
zend_load('Zend_Gdata')might be a good option.Comment #4
robloachFixed by 92034 and 92032 for both Drupal 5 and Drupal 6.
It's using
zend_include('Zend/Gdata.php')and returns TRUE if it works. Mind testing a bit to make sure it's good?Also, zend_load is a good idea, but
hook_loadwould conflict. Maybezend_initialize?Comment #5
mustafau commentedzend_loader()?Comment #6
mustafau commentedzend_initialize()may make use of the Zend_Loader class.Comment #7
robloachAhhh, very cool!
Comment #8
robloachhttp://drupal.org/cvs?commit=92750
http://drupal.org/cvs?commit=92749
Comment #9
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.