diff options
author | Camil Staps | 2016-08-01 14:11:06 +0200 |
---|---|---|
committer | Camil Staps | 2016-08-01 14:11:06 +0200 |
commit | 46198a89ccc8e6750a37e1b9127f57238242fadf (patch) | |
tree | de6c0bc2f55b759a0db6471fc0b820ee5433e648 /index.php | |
parent | Use Model::search in child::get* methods (diff) |
Array shorthands
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -35,7 +35,7 @@ $_request = str_replace(Constants::url_internal, '', $_request); // This is the REQUEST_URI switch // The default shows a 404 page -$pages = array( +$pages = [ '/' => './include/home.php', '/clients' => './include/clients.php', '/clients/new' => './include/clients-new.php', @@ -59,7 +59,7 @@ $pages = array( '/ajax/email/offer' => './include/ajax-email-offer.php', '/pay' => './include/pay.php', '/file/get' => './include/file-get.php' -); +]; $_page = null; foreach ($pages as $uri => $path) { |