framework/web/CAssetManager.php
public function setBasePath($value)
	{
		if(($basePath=realpath($value))!==false && is_dir($basePath) && is_writable($basePath))
			$this->_basePath=$basePath;
		else
			throw new CException(Yii::t('yii','CAssetManager.basePath "{path}" is invalid. Please make sure the directory exists and is writable by the Web server process.',
				array('{path}'=>$value)));
	}
public function setBasePath($value)
	{
		if(($basePath=realpath($value))!==false && is_dir($basePath) && is_writable($basePath))
			$this->_basePath=$basePath;
		else
			throw new CException(Yii::t('yii','CAssetManager.basePath "{path}" is invalid. Please make sure the directory exists and is writable by the Web server process.',
				array('{path}'=>$value)));
	}
public function setBasePath ( $ value ) { if ( ( $ basePath = realpath ( $ value ) ) !== false && is_dir ( $ basePath ) && is_writable ( $ basePath ) ) $ this -> _basePath = $ basePath ; else throw new CException ( Yii :: t ( 'yii' , 'CAssetManager.basePath "{path}" is invalid. Please make sure the directory exists and is writable by the Web server process.' , array ( '{path}' => $ value ) ) ) ; }
Sets the root directory storing published asset files.
@param string $value the root directory storing published asset files
@throws CException if the base path is invalid
Sets the root directory storing published asset files .