Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (24 sloc) 783 Bytes
* Default settings.
* @author Frank Mullenger <>
* @copyright Copyright (c) 2011, Frank Mullenger
* @package swipestripe
* @subpackage admin
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
//Rules for product links
Director::addRules(50, array(
//'product//$ID' => 'Product_Controller',
'product//$ID/$Action' => 'Product_Controller',
'swipestripe.xml' => 'ShopSettings_Controller'
Something went wrong with that request. Please try again.