<?php

define( '_FEXEC', 1 );

if ( isset( $_POST['src'] ) && (
		$_POST['src'] === '../php/rest/get.php' ||
		preg_match( '/^\.\.\/php\/[a-zA-Z_\-]+\.php$/', $_POST['src'] ) !== 0
	) )
{
	echo file_get_contents( $_POST['src'] );
}
else {
	echo '';
}


