Print.php
authorEdward <edward@roojs.com>
Fri, 30 May 2014 07:26:28 +0000 (15:26 +0800)
committerEdward <edward@roojs.com>
Fri, 30 May 2014 07:26:28 +0000 (15:26 +0800)
Print.php

index 899e2bd..722d49a 100644 (file)
--- a/Print.php
+++ b/Print.php
@@ -167,8 +167,8 @@ class Pman_Xtuple_Print extends Pman
         $template  = '';
         if (isset($cfg['template'])) {
             
-            $template = realpath($roo->rootURL . '/report_templates'). '/'.$cfg['template']. '.xml';
-            print_r((dirname($roo->rootURL)));exit;
+            $template = $roo->rootURL . '/report_templates'. '/'.$cfg['template']. '.xml';
+            print_r($template);exit;
             unset($cfg['template']);
         }
         // do we have a localized version???