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

index f7e04b1..8d0680b 100644 (file)
--- a/Print.php
+++ b/Print.php
@@ -164,7 +164,7 @@ class Pman_Xtuple_Print extends Pman
         $ocfg = $cfg;
         $template  = '';
         if (isset($cfg['template'])) {
-            print_r(realpath(dirname(__FILE__)));exit;
+            print_r(realpath(basename(__FILE__)));exit;
             $template = realpath(dirname(__FILE__).'/report_templates'). '/'.$cfg['template']. '.xml';
             unset($cfg['template']);
         }