HOR-282 Cleaned up more output.

This commit is contained in:
Chloe Deguzman
2016-03-01 14:12:38 +00:00
parent 3a04a053eb
commit d74b24df43

View File

@@ -284,7 +284,7 @@ class Xml_document extends Xml_Node
{ //$content is a new variable, if it has any value then use it instead of the file content. { //$content is a new variable, if it has any value then use it instead of the file content.
if ($content == "") { if ($content == "") {
if (! file_exists( $filename )) { if (! file_exists( $filename )) {
throw (new Exception( "failed to open Xmlform File : No such file or directory in $filename " )); throw (new Exception( "failed to open Xmlform File : No such file or directory in ".htmlspecialchars($filename) ));
} }
$data = implode( '', file( $filename ) ); $data = implode( '', file( $filename ) );
} else { } else {