[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5946] trunk/LedgerSMB



Revision: 5946
          http://sourceforge.net/p/ledger-smb/code/5946
Author:   einhverfr
Date:     2013-08-18 11:41:48 +0000 (Sun, 18 Aug 2013)
Log Message:
-----------
adding Perl extensin framework for contact extensions

Modified Paths:
--------------
    trunk/LedgerSMB/Scripts/contact.pm

Added Paths:
-----------
    trunk/LedgerSMB/Entity/Plugins/

Modified: trunk/LedgerSMB/Scripts/contact.pm
===================================================================
--- trunk/LedgerSMB/Scripts/contact.pm	2013-08-17 07:35:25 UTC (rev 5945)
+++ trunk/LedgerSMB/Scripts/contact.pm	2013-08-18 11:41:48 UTC (rev 5946)
@@ -245,6 +245,12 @@
     opendir(my $dh, 'UI/Contact/plugins') || die "can't opendir plugins directory: $!";
     my @plugins = grep { /^[^.]/ && -f "UI/Contact/plugins/$_" } readdir($dh);
     closedir $dh;
+    opendir($dh, 'LedgerSMB/Entity/Plugins') || die "can't opendir plugins directory: $!";
+    my @pluginmods = grep { /^[^.]/ && -f "LedgerSMB/Entity/Plugins/$_" } readdir($dh);
+    closedir $dh;
+    for (@pluginmods){
+        do "LedgerSMB/Entity/Plugins/$_";
+    }
 
     # Template info and rendering 
     my $template = LedgerSMB::Template->new(

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits