Difference between #2 and #3 of
Organize directories for applications with front-end and back-end

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,
[...]
25 0
34 followers
Viewed: 100 204 times
Version: 1.1
Category: Tutorials
Tags:
Written by: qiang
Last updated by: CeBe
Created on: May 8, 2009
Last updated: 6 years ago
Update Article

Revisions

View all history