[MKDoc-commit] Example configuration with name matching 1.6 branch.

bruno at mkdoc.demon.co.uk bruno at mkdoc.demon.co.uk
Wed Oct 20 17:54:43 BST 2004


Log Message:
-----------
Example configuration with name matching 1.6 branch. Incremented version.

Modified Files:
--------------
    MKDoc-ECommerce:
        Changes
    MKDoc-ECommerce/lib/MKDoc:
        ECommerce.pm
    MKDoc-ECommerce/lib/MKDoc/ECommerce:
        Rules.pm

Added Files:
-----------
    MKDoc-ECommerce:
        plugin_ecommerce.conf

-------------- next part --------------
Index: Changes
===================================================================
RCS file: /var/spool/cvs/MKDoc-ECommerce/Changes,v
retrieving revision 1.2
retrieving revision 1.3
diff -LChanges -LChanges -u -r1.2 -r1.3
--- Changes
+++ Changes
@@ -2,6 +2,8 @@
 
 0.02
       - removed defunct email address
+      - imported templates removed from mkd CMS
+      - imported flo/editor/Price.pm from mkd CMS
 
 0.01  Tue Oct 12 14:26:00 2004
       - bundle into basic perl module (removed from mkdoc-1.6 for mkdoc-1.8).
--- /dev/null
+++ plugin_ecommerce.conf
@@ -0,0 +1,8 @@
+# ecommerce stuff
+MKDoc::Session
+flo::plugin::Shop::Order
+flo::plugin::Shop::Basket::View
+flo::plugin::Shop::Basket::Add
+flo::plugin::Shop::Basket::Modify
+flo::plugin::Shop::Basket::Help
+flo::plugin::Shop::Details
Index: ECommerce.pm
===================================================================
RCS file: /var/spool/cvs/MKDoc-ECommerce/lib/MKDoc/ECommerce.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -Llib/MKDoc/ECommerce.pm -Llib/MKDoc/ECommerce.pm -u -r1.1 -r1.2
--- lib/MKDoc/ECommerce.pm
+++ lib/MKDoc/ECommerce.pm
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '0.01';
+our $VERSION = '0.02';
 
 =head1 NAME
 
Index: Rules.pm
===================================================================
RCS file: /var/spool/cvs/MKDoc-ECommerce/lib/MKDoc/ECommerce/Rules.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -Llib/MKDoc/ECommerce/Rules.pm -Llib/MKDoc/ECommerce/Rules.pm -u -r1.2 -r1.3
--- lib/MKDoc/ECommerce/Rules.pm
+++ lib/MKDoc/ECommerce/Rules.pm
@@ -33,7 +33,7 @@
 sub explain
 {
     my $self = shift;
-    my $billing = $ENV{ECOMMERCE_BILLING_RULES} || $ENV{MKDOC_DIR} . '/conf/ecommerce.list.conf';
+    my $billing = $ENV{ECOMMERCE_BILLING_RULES} || $ENV{MKDOC_DIR} . '/conf/plugin_ecommerce.conf';
     
     # no rules specified? return the total price...
     my @res = { amount => $self->{basket}->total() };


More information about the MKDoc-commit mailing list