aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorCamil Staps2016-07-28 09:37:48 +0200
committerCamil Staps2016-07-28 09:47:04 +0200
commit4f84eb2b09bf51eabdc29b5eeec101e0260b1cb7 (patch)
tree82722787d4018373720c66933f475bb2b1708c92 /index.php
parentSplit Calculatable in trait and interface (diff)
Braintree integration: first version
Diffstat (limited to 'index.php')
-rw-r--r--index.php39
1 files changed, 20 insertions, 19 deletions
diff --git a/index.php b/index.php
index a7242b6..b0cdfc5 100644
--- a/index.php
+++ b/index.php
@@ -36,26 +36,27 @@ $_request = str_replace(Constants::url_internal, '', $_request);
// This is the REQUEST_URI switch
// The default shows a 404 page
$pages = array(
- '/' => './include/home.php',
- '/clients' => './include/clients.php',
- '/clients/new' => './include/clients-new.php',
- '/clients/edit' => './include/clients-edit.php',
- '/contacts' => './include/contacts.php',
- '/contacts/new' => './include/contacts-new.php',
- '/contacts/edit' => './include/contacts-edit.php',
- '/offers' => './include/offers.php',
- '/offers/new' => './include/offers-new.php',
- '/offers/edit' => './include/offers-edit.php',
- '/assignments' => './include/assignments.php',
- '/assignments/new' => './include/assignments-new.php',
+ '/' => './include/home.php',
+ '/clients' => './include/clients.php',
+ '/clients/new' => './include/clients-new.php',
+ '/clients/edit' => './include/clients-edit.php',
+ '/contacts' => './include/contacts.php',
+ '/contacts/new' => './include/contacts-new.php',
+ '/contacts/edit' => './include/contacts-edit.php',
+ '/offers' => './include/offers.php',
+ '/offers/new' => './include/offers-new.php',
+ '/offers/edit' => './include/offers-edit.php',
+ '/assignments' => './include/assignments.php',
+ '/assignments/new' => './include/assignments-new.php',
'/assignments/edit' => './include/assignments-edit.php',
- '/discounts' => './include/discounts.php',
- '/discounts/new' => './include/discounts-new.php',
- '/discounts/edit' => './include/discounts-edit.php',
- '/about' => './include/about.php',
- '/settings' => './include/settings.php',
- '/users/new' => './include/users-new.php',
- '/ajax/collapse' => './include/ajax-collapse.php'
+ '/discounts' => './include/discounts.php',
+ '/discounts/new' => './include/discounts-new.php',
+ '/discounts/edit' => './include/discounts-edit.php',
+ '/about' => './include/about.php',
+ '/settings' => './include/settings.php',
+ '/users/new' => './include/users-new.php',
+ '/ajax/collapse' => './include/ajax-collapse.php',
+ '/pay' => './include/pay.php'
);
$_page = null;