Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
klimov-paul committed Jun 13, 2023
1 parent e9aaa99 commit 0341491
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
This is free software. It is released under the terms of the
following BSD License.

Copyright © 2019 by Illuminatech (https://github.com/illuminatech)
Copyright © 2023 by Yii1Tech (https://github.com/yii1tech)
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand All @@ -14,7 +14,7 @@ are met:
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
* Neither the name of Illuminatech nor the names of its
* Neither the name of Yii1Tech nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<br>
</p>

This extension introduces persistent configuration repository for Laravel.
This extension introduces persistent configuration repository for Yii 1.
Its usage in particular provides support for application runtime configuration, loading config from database.

For license information check the [LICENSE](LICENSE.md)-file.
Expand Down Expand Up @@ -86,8 +86,8 @@ $configManager = Yii::app()->get('configManager');
$configManager->configure(Yii::app());
```

**Heads up!** Behavior `yii1tech\config\ConfiguresAppFromConfigManager` automatically suppresses any error or exception, which appears during values restoration.
This is done to avoid application blocking in case storage is not yet ready for usage, for example: database table does not yet exist.
**Heads up!** Behavior `yii1tech\config\ConfiguresAppFromConfigManager` automatically suppresses any error or exception, which appears during values
restoration. This is done to avoid application blocking in case storage is not yet ready for usage, for example: database table does not yet exist.
Storage failure error will appear only at the application log. You should manually test value restoration is working at your application
to avoid unexpected behavior.

Expand Down Expand Up @@ -163,6 +163,9 @@ return [
];
```

> Tip: there is no need to prepare data for particualr item inside the storage. If it is missing the value will be picked from current
related application configuration. Thus, you can add and remove config items freely without extra action, like DB migration, involved.


## Configuration storage <span id="configuration-storage"></span>

Expand Down

0 comments on commit 0341491

Please sign in to comment.