7 Yii::app()->getClientScript()
8 ->addPackage(
'yii2-debug', array(
9 'baseUrl' => CHtml::asset(Yii::getPathOfAlias(
'yii2-debug.assets')),
11 YII_DEBUG ?
'js/bootstrap.js' :
'js/bootstrap.min.js',
15 YII_DEBUG ?
'css/bootstrap.css' :
'css/bootstrap.min.css',
18 'depends' => array(
'jquery'),
20 ->registerPackage(
'yii2-debug');
23 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:lang=
"<?php echo Yii::app()->language; ?>" lang=
"<?php echo Yii::app()->language; ?>">
25 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
26 <title><?php echo CHtml::encode($this->
pageTitle); ?></title>
29 <?php echo $content; ?>