Revision #3 has been created by intel352 on Jun 26, 2012, 6:59:18 PM with the memo:
Fixing call to Yii
« previous (#2) next (#4) »
Changes
Title
unchanged
Organize directories for applications with front-end and back-end
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
Content
changed
[...]
```php
// index.php:
require('path/to/yii.php');
Yii::app()->createWebApplication('protected/config/main.php')->run();
// backend.php:
require('path/to/yii.php');
Yii::
app()->createWebApplication('protected/backend/config/main.php')->run();
```
The front-end application configuration is very normal, just like we usually have for single-end applications. The back-end application configuration is a bit special. Its content is given as follows,[...]