/** * Returns the contents of the log file. * If the log file does not exists, creates it. * * @since 1.9 */ public static function get_log() { if ( !file_exists( WPRSS_FTP_LOG_FILE ) ) { WPRSS_FTP_Utils::clear_log(); } return file_get_contents( WPRSS_FTP_LOG_FILE , '' ); }