WebGUI 3.6.5 release
This commit is contained in:
parent
11ab194b7a
commit
bb66c11a6a
15 changed files with 917 additions and 20 deletions
|
|
@ -22,10 +22,14 @@ sub _replacement {
|
|||
$temp = "SECURITY VIOLATION";
|
||||
} else {
|
||||
$file = FileHandle->new($param[0],"r");
|
||||
while (<$file>) {
|
||||
$temp .= $_;
|
||||
if ($file) {
|
||||
while (<$file>) {
|
||||
$temp .= $_;
|
||||
}
|
||||
$file->close;
|
||||
} else {
|
||||
$temp = "INCLUDED FILE DOES NOT EXIST";
|
||||
}
|
||||
$file->close;
|
||||
}
|
||||
return $temp;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue