用户
 找回密码
 入住 CI 中国社区
搜索
查看: 1948|回复: 2
收起左侧

[HELP] zend studio 打开 CodeIgniter项目后 入口文件被清空?

[复制链接]
发表于 2012-12-21 17:22:26 | 显示全部楼层 |阅读模式
本帖最后由 红石头 于 2012-12-21 17:37 编辑

我用的是 zend studio 9.0.4 的破解版,只要在zend studio上建立了 CodeIgniter 项目后,入口文件立马被清空?这是为什么???
刚解压 入口文件:index.php 的内容:
<?php

/*
*---------------------------------------------------------------
* APPLICATION ENVIRONMENT
*---------------------------------------------------------------
*
* You can load different configurations depending on your
* current environment. Setting the environment also influences
* things like logging and error reporting.
*
* This can be set to anything, but default usage is:
*
*     development
*     testing
*     production
*
* NOTE: If you change these, also change the error_reporting() code below
*
*/
        define('ENVIRONMENT', 'development');
/*
*---------------------------------------------------------------
* ERROR REPORTING
*---------------------------------------------------------------
*
* Different environments will require different levels of error reporting.
* By default development will show errors but testing and live will hide them.
*/

if (defined('ENVIRONMENT'))
{
......

用zend studio 建立项目后,入口文件 index.php里面只剩下:
<?php



 楼主| 发表于 2012-12-21 17:32:29 | 显示全部楼层
有人知道原因么?。。。。大神啊~!
发表于 2012-12-29 00:06:15 CI中国手机版 | 显示全部楼层
晕,zend创建项目会默认创建index.php 覆盖掉框架的来自: iPhone客户端

本版积分规则