mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-19 06:26:54 +01:00
merge from 1.0
This commit is contained in:
@@ -456,6 +456,7 @@ class CClientScript extends CApplicationComponent
|
||||
*/
|
||||
public function registerLinkTag($relation=null,$type=null,$href=null,$media=null,$options=array())
|
||||
{
|
||||
$this->_hasScripts=true;
|
||||
if($relation!==null)
|
||||
$options['rel']=$relation;
|
||||
if($type!==null)
|
||||
|
||||
Reference in New Issue
Block a user