aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Config.php
Commit message (Collapse)AuthorAgeFilesLines
* Correct type annotation in comment for Config::Get.Harald Eilertsen2024-06-051-1/+1
|
* fix another regression from last Lib/Config refactor which returned the ↵Mario2024-03-131-0/+3
| | | | default falue in case the value was an array. also add a testcase for this situation
* Work around possible loop and use Lib/Config in initMario Vavti2024-01-011-2/+0
|
* move App::$install check to Config::Load() as suggested by HaraldMario2023-12-201-7/+2
|
* Merge branch 'fix-config-deserialization' into 'dev'Mario2023-12-201-6/+15
|\ | | | | | | | | Fix deserialization of config values broken by 69266cd6. See merge request hubzilla/core!2077
| * Fix deserialization of config values broken by 69266cd6.Harald Eilertsen2023-12-171-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should fix issue #1828. This patch makes it explicit that we store arrays in the config as json encoded arrays, while we allow both json encoded and PHP serialized arrays to be deserialized correctly. Unless it's a brand new install, the existing data in the database will be PHP serialized. I've also added a hardening measure in case we fall back to PHP unserialize, making sure we're not vulnerable to a PHP Object Injection attack. This means that deserializing arrays containing PHP objects will no longer work, but afaict we never do that anyways, so I don't think that should break anything.
* | fix loop as described in issue #1827Mario2023-12-171-0/+6
|/
* check return from Config::Load() and retry on failure plus cleanupMario Vavti2023-12-141-30/+57
|
* mod_search: fix the group by messzotlabs2018-01-211-2/+2
|
* :bulb: Improving Doxygen documentation.Klaus Weidenbach2017-11-031-15/+14
| | | | | Fix some Doxygen parsing errors. Improve hooks documentation.
* grrr. stop making branding assumptions.zotlabs2017-03-121-1/+1
|
* minor changes to config api and markdown_to_bbzotlabs2016-12-051-3/+3
|
* begin moving config to zotlabs. Leave procedural stubs for backward ↵redmatrix2016-05-301-0/+166
comaptibility