mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-07 00:26:52 +01:00
15 lines
382 B
PHP
15 lines
382 B
PHP
<?php
|
|
|
|
class SiteController extends CController
|
|
{
|
|
/**
|
|
* This is the default 'index' action that is invoked
|
|
* when an action is not explicitly requested by users.
|
|
*/
|
|
public function actionIndex()
|
|
{
|
|
// renders the view file 'protected/views/site/index.php'
|
|
// using the default layout 'protected/views/layouts/application.php'
|
|
$this->render('index');
|
|
}
|
|
} |