mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-22 07:56:52 +01:00
YII_DEBUG condition
This commit is contained in:
@@ -594,7 +594,7 @@ class CClientScript extends CApplicationComponent
|
||||
$params=func_get_args();
|
||||
$this->recordCachingAction('clientScript','registerCoreScript',$params);
|
||||
} else {
|
||||
if(YII_DEBUG=='')
|
||||
if(YII_DEBUG===true)
|
||||
{
|
||||
$message=Yii::t('yii','There is no package:' . $name);
|
||||
Yii::log($message, CLogger::LEVEL_WARNING, 'system.web.CClientScript');
|
||||
|
||||
Reference in New Issue
Block a user