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