Wordpress and Zend
4 answers
you can use "hardcoded" if you cannot configure autoload β
in / wp-content / themes / levitation / send.php insert in the first line: require_once 'your / path / to / zend / Zend / GData / ClientLogin.php';
The problem is that you have to go through all the errors and include the missing class in it (inside the classes included questions related to ...
Or in the main file (guess index.php) insert:
set_include_path(get_include_path() . PATH_SEPARATOR . 'your/path/to/zend/');
//for ZF below 1.8
require_once 'Zend/Loader.php';
Zend_Loader::registerAutoload();
//for ZF > 1.8
require_once 'Zend/Loader/Autoloader.php';
Zend_Loader_Autoloader::setFallbackAutoloader(true);
+3
source to share
Try http://blueberryware.net/2008/09/04/wp-library-autoloader-plugin I think everything you need is there.
0
source to share