2012-12-04 3 views
0

Yii 프레임 워크의 코드를 분석하고 싶지만 ... 인덱스 파일을 찾을 수 없습니다. E 어디에서, 어떻게 검색 할 것인지 서버에서 알 수 있습니다 .htaccess가 ' 특정 규칙을 포함합니까?Yiii - 인덱스 파일

+1

아직은 색인입니까? –

+0

index.php가 기본 서버 파일이 아닙니까? – khernik

답변

1

YII이 프레임 워크가 아닌 웹 사이트입니다있을 것이다 설정입니다. 기본 웹 애플리케이션은 리눅스 터미널 유형에

0

enter code here (@eskimo에서 link를 시청)을 만들 보려면

$ sudo를/경로 /로/YII/프레임 워크/yiic 웹 애플리케이션의/var/www /에서

installationfolder 여기

은 index.php를

하거나 읽을 README

설치 폴더를 찾을 것입니다 코드 어쨌든

<?php 

// change the following paths if necessary 


$yii=dirname(__FILE__).'/../yii/framework/yii.php'; 
$config=dirname(__FILE__).'/protected/config/main.php'; 

// remove the following lines when in production model 

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(); 

?>