Skip to content

Commit

Permalink
Update configuration file based on production or not.
Browse files Browse the repository at this point in the history
  • Loading branch information
mosbth committed May 27, 2020
1 parent 7c88a46 commit 103cdb4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions REVISION.md
Expand Up @@ -12,6 +12,13 @@ Notes for development v1.1.0*



v2.0.0 (2020-05-27)
---------------------------------

* Update configuration file based on production or not.



v2.0.0-beta.2 (2018-08-15)
---------------------------------

Expand Down
9 changes: 9 additions & 0 deletions config/url_clean.php
Expand Up @@ -2,6 +2,15 @@
/**
* Config file for url.
*/
#
if (!defined("ANAX_PRODUCTION")) {
// For development environment
return [
"urlType" => self::URL_CLEAN,
];
}

// For production environment
return [
// Defaults to use when creating urls.
//"siteUrl" => null,
Expand Down

0 comments on commit 103cdb4

Please sign in to comment.