update path to SetaPDF
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 4 Apr 2016 17:19:20 +0000 (13:19 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 4 Apr 2016 17:19:27 +0000 (13:19 -0400)
SetaPDF [new symlink]
models/front/events/list.php

diff --git a/SetaPDF b/SetaPDF
new file mode 120000 (symlink)
index 0000000..9104431
--- /dev/null
+++ b/SetaPDF
@@ -0,0 +1 @@
+/usr/share/php/SetaPDF
\ No newline at end of file
index 1051c4d..4a00f00 100644 (file)
@@ -177,7 +177,8 @@ class GlmMembersFront_events_list extends GlmMembersFront_events_baseAction
             }
             break;
         case 'pdf':
-            include_once '/var/www/localhost/Setasign/SetaPDF-Core_2.18.0.817_Ioncubed-PHP5.4/library/SetaPDF/Autoload.php';
+            //include_once '/var/www/localhost/Setasign/SetaPDF-Core_2.18.0.817_Ioncubed-PHP5.4/library/SetaPDF/Autoload.php';
+            include_once GLM_MEMBERS_EVENTS_PLUGIN_PATH . '/SetaPDF/Autoload.php';
             $this->postAddLocations   = true;
             $this->postAddRecurrences = true;
             $events = $this->getModelEventsData($categoryId);