Skip to content

Commit

Permalink
Merge pull request #1419 from phalcon/fix/#1417-swap-includes
Browse files Browse the repository at this point in the history
#1417 - Swap include order of services.php and router.php
  • Loading branch information
Jeckerson authored Jan 19, 2020
2 parents 0022167 + 128abaf commit 1704b94
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/project/simple/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
$di = new FactoryDefault();

/**
* Handle routes
* Read services
*/
include APP_PATH . '/config/router.php';
include APP_PATH . '/config/services.php';

/**
* Read services
* Handle routes
*/
include APP_PATH . '/config/services.php';
include APP_PATH . '/config/router.php';

/**
* Get config service for use in inline setup below
Expand Down

0 comments on commit 1704b94

Please sign in to comment.