文章分类 -  Zend Frameword

Zend Frameword
摘要:Zend Framework配置文件位于application->configs目录下application.ini文件,默认有4组配置,即开发(development)、测试(testing)、演示(staging)、上线(production)[production]phpSettings.display_startup_errors = 0phpSettings.display_errors = 0includePaths.library = APPLICATION_PATH "/../library"bootstrap.path = APPLICATION_P 阅读全文
posted @ 2013-07-16 10:50 午时的海 阅读(215) 评论(0) 推荐(0) 编辑
摘要:配置apalication.ini[mysql]db.adapter=PDO_MYSQLdb.params.host=localhostdb.params.username=rootdb.params.password=rootdb.params.dbname=dbname初始化数据库适配器在Bootstrap.php添加构造函数function __construct($app){//parent::__costruct($applaction);parent::__construct($app);//初始化我们的数据库适配器$url=constant("APPLICATION_P 阅读全文
posted @ 2013-07-16 10:22 午时的海 阅读(140) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示