PUM_Ajax::get_file( $path )
Description Description
Source Source
File: classes/Ajax.php
public static function get_file( $path ) { if ( function_exists( 'realpath' ) ) { $path = realpath( $path ); } if ( ! $path || ! @is_file( $path ) ) { return ''; } return @file_get_contents( $path ); }
Expand full source code Collapse full source code View on Trac