本文介绍了在 Zend 框架中集成 phpthumb的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有一种简单的方法可以将 phpthumb 集成到 Zend 框架中?如果可能,请帮助我提供示例代码,谢谢
Is there a easy way to integrate phpthumb in zend framework ? Please help me with sample code if possible, thanks
推荐答案
application/Bootstrap.php
application/Bootstrap.php
protected function _initAutoload()
{
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->registerNamespace('PhpThumb_');
return $autoloader;
}
application/configs/application.ini
application/configs/application.ini
[production]
includePaths.library = APPLICATION_PATH "/../library"
放入文件
library
--PhpThumb
这篇关于在 Zend 框架中集成 phpthumb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!