来源:未知 时间:2014-11-16 00:38 作者:xxadmin 阅读:次
[导读] 这是index.php入口文件 ?php // change the following paths if necessary $yii=framework\yii.php; $config=dirname(__FILE__)./protected/config/main.php; // remove the following lines when in production mode defined(YII_DEBUG) or define(YII...
这是index.php入口文件 <?php
// change the following paths if necessary $yii='framework\yii.php'; $config=dirname(__FILE__).'/protected/config/main.php';
// remove the following lines when in production mode defined('YII_DEBUG') or define('YII_DEBUG',true); // specify how many levels of call stack should be shown in each log message defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
require_once($yii); Yii::createWebApplication($config)->run();
报错内容如下
Warning: require_once(framework\yii.php): failed to open stream: No such file or directory in/boran/webs/eshop/index.php on line 13
Fatal error: require_once(): Failed opening required 'framework\yii.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php') in /boran/webs/eshop/index.php on line 13 |
自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习
京ICP备14009008号-1@版权所有www.zixuephp.com
网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com