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

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