-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.php
More file actions
37 lines (32 loc) · 907 Bytes
/
init.php
File metadata and controls
37 lines (32 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Routes for Forum.
*/
Route::set('payment', 'payment')
->defaults(array(
'controller' => 'Payment',
'action' => 'index',
));
Route::set('payment.paypal', 'payment/paypal/<id>(/<action>)', array('id' => '[0-9]+'))
->defaults(array(
'directory' => 'Payment',
'controller' => 'PayPal',
'action' => 'index',
));
Route::set('payment.recurring', 'payment/recurring/<id>(/<action>)', array('id' => '[0-9]+'))
->defaults(array(
'directory' => 'Payment',
'controller' => 'Recurring',
'action' => 'index',
));
Route::set('payment.ipn', 'payment/ipn')
->defaults(array(
'directory' => 'Payment',
'controller' => 'IPN',
'action' => 'index',
));
Route::set('payment.package', 'payment/<id>', array('id' => '[0-9]+'))
->defaults(array(
'controller' => 'Payment',
'action' => 'package',
));