I will go with the line
Is it possible to use Yii only by copying the Framework to a folder on the server, and then turn on something
and answer yes: p Although you just need to follow the creation of the webapp via yiic webapplike like this:
- yii (yii-someversion.tar.gz ),
- - (,
/opt/yii * nix C:/web/yii windows.) - (
$PATH in * nix %PATH% windows), - /,
webserver document root
yiic webapp <app folder name>
,
index.php, , - :
<?php
$yii=dirname(__FILE__).'/../yii/framework/yii.php';
$config=dirname(__FILE__).'/protected/config/main.php';
defined('YII_DEBUG') or define('YII_DEBUG',true);
defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
require_once($yii);
Yii::createWebApplication($config)->run();
: p