1
0

Worked on Programs/Index page

This commit is contained in:
2014-05-28 17:19:57 +02:00
parent e8f7c5d093
commit b5fd33e012
17 changed files with 456 additions and 401 deletions

View File

@@ -24,6 +24,17 @@ class SiteController extends Controller
}
}
public function actionDebugError()
{
if($error=Yii::app()->errorHandler->error)
{
if(Yii::app()->request->isAjaxRequest)
echo $error['message'];
else
$this->render('debugerror', $error);
}
}
public function actionAbout()
{
$data = array();