projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added chinese installer translation and updated empty.po.
[fa-stable.git]
/
reporting
/
prn_redirect.php
diff --git
a/reporting/prn_redirect.php
b/reporting/prn_redirect.php
index a9f4d336f45092d330976b771a7a938b58896d83..ce525ea1ff788253acabaf994fdb5f8a644013f1 100644
(file)
--- a/
reporting/prn_redirect.php
+++ b/
reporting/prn_redirect.php
@@
-58,8
+58,7
@@
$rep = $_POST['REP_ID'];
$rep_file = find_custom_file("/reporting/rep$rep.php");
if ($rep_file) {
- chdir(dirname($rep_file));
- require(basename($rep_file));
+ require($rep_file);
} else
display_error("Cannot find report file '$rep'");
exit();