Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 544a069722
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (24 sloc) 0.783 kb
<?php
/**
* Default settings.
*
* @author Frank Mullenger <frankmullenger@gmail.com>
* @copyright Copyright (c) 2011, Frank Mullenger
* @package swipestripe
* @subpackage admin
*/
//Decorators
Object::add_extension('Payment', 'PaymentDecorator');
Object::add_extension('SiteConfig', 'ShopSettings');
//Extend page controller
Object::add_extension('Page_Controller', 'CartControllerExtension');
//Extend FieldSet
Object::add_extension('FieldSet', 'FieldSetExtension');
//Redirect customers logging in to the account page
Security::set_default_login_dest('account');
//Rules for product links
Director::addRules(50, array(
//'product//$ID' => 'Product_Controller',
'product//$ID/$Action' => 'Product_Controller',
'swipestripe.xml' => 'ShopSettings_Controller'
));
Jump to Line
Something went wrong with that request. Please try again.