original_string: public static function append( $path, $content ) 
  	{
  		if ( !is_dir( dirname( $path ) ) ) 
  		{
  			if ( !mkdir( dirname( $path ), 0755, true ) ) 
  			{
  				throw new CCException( "CCFile - could not create directory: ".dirname( $path ) );
  			}
  		}
  		return file_put_contents( $path, $content, LOCK_EX | FILE_APPEND );
  	}
code: public static function append( $path, $content ) 
  	{
  		if ( !is_dir( dirname( $path ) ) ) 
  		{
  			if ( !mkdir( dirname( $path ), 0755, true ) ) 
  			{
  				throw new CCException( "CCFile - could not create directory: ".dirname( $path ) );
  			}
  		}
  		return file_put_contents( $path, $content, LOCK_EX | FILE_APPEND );
  	}
code_tokens: public static function append ( $ path , $ content ) { if ( ! is_dir ( dirname ( $ path ) ) ) { if ( ! mkdir ( dirname ( $ path ) , 0755 , true ) ) { throw new CCException ( "CCFile - could not create directory: " . dirname ( $ path ) ) ; } } return file_put_contents ( $ path , $ content , LOCK_EX | FILE_APPEND ) ; }
docstring: append to a file
  
  @param string 	$path
  @param string	$content
  @return bool
docstring_tokens: append to a file