Multilanguage web site controlling by get request and database allowed languages

Comparing #7 with #9

Content

You can controll your languages in admin ---------------------------------------- First Y, you have to have create database table for default language and allowed languages.

```php
[...]
}
```
Now we have to make
Ssome Ffunctions in component Controller whitch extends CController
[...]
*/
public function createUrl($route, $params = array(), $ampersand = '&') {
        //because if you wont to define language manually 
 
        if(empty($params['lang'])){
 
$params['lang'] = Controller::processUrl();         }
 
return parent::createUrl($route, $params, $ampersand);
}
[...]
### 1. rule is default
### 2. rule is for /hr/admin remove index from controller
### 3. rule is for each control
ler action /en/site/index
### 4. rule is for redirecting /en/ for redirecting index to language /de/ /fr/
depends on database

```php
'urlManager'=>array(
[...]