Worked on Programs/Index page
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user