Organize directories for applications with front-end and back-end

Comparing #2 with #3

Revision #3 was created by intel352 intel352 on Jun 26, 2012, 6:59:18 PM.

Fixing call to Yii

Content

[...]
```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,
[...]