From 46198a89ccc8e6750a37e1b9127f57238242fadf Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 1 Aug 2016 14:11:06 +0200 Subject: Array shorthands --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 0a27ed1..7dd2be3 100644 --- a/index.php +++ b/index.php @@ -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) { -- cgit v1.2.3