projects
/
Pman.Xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
202d7ee
)
Print.php
author
Edward
<edward@roojs.com>
Fri, 30 May 2014 07:37:43 +0000
(15:37 +0800)
committer
Edward
<edward@roojs.com>
Fri, 30 May 2014 07:37:43 +0000
(15:37 +0800)
Print.php
patch
|
blob
|
history
diff --git
a/Print.php
b/Print.php
index
f5b80a3
..
ae8928b
100644
(file)
--- a/
Print.php
+++ b/
Print.php
@@
-167,11
+167,8
@@
class Pman_Xtuple_Print extends Pman
$template = '';
if (isset($cfg['template'])) {
- $template = '/report_templates'. '/'.$cfg['template']. '.xml';
-// print_r(realpath($template));exit;
-
- print_r(file_get_contents($template));exit;
-
+ $template = realpath(dirname(__FILE__).'/report_templates'). '/'.$cfg['template']. '.xml';
+ print_r($template);exit;
unset($cfg['template']);
}
// do we have a localized version???