红石头 发表于 2012-12-21 17:22:26

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

本帖最后由 红石头 于 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

有人知道原因么?。。。。大神啊~!

Just_alive 发表于 2012-12-29 00:06:15

晕,zend创建项目会默认创建index.php 覆盖掉框架的
页: [1]
查看完整版本: zend studio 打开 CodeIgniter项目后 入口文件被清空?