src/classes/CCFile.php
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 );
	}
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 );
	}
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 ) ; }
append to a file

@param string 	$path
@param string	$content
@return bool
append to a file