Commit Graph

32 Commits

Author SHA1 Message Date
Fabrixxm 136ae34245 Add `$default_value` parameter to `Config::get()` and `PConfig::get()` 2016-06-10 12:00:34 +02:00
Fabrixxm 6c346b1ab6 Move `Config` and `PConfig` classes in `\Friendica\Core namespace` 2016-06-10 11:52:01 +02:00
rabuzarus 023c43fa4a config && pconfig: return NULL if config is unset 2016-06-08 21:52:10 +02:00
rabuzarus 7e8ea1cb87 move config to its own class (with legacy support) 2016-06-08 11:02:18 +02:00
rabuzarus fa02d0f2f8 rename PConfig::del to PConfig:delete 2016-06-06 10:46:33 +02:00
rabuzarus f10011c282 move pconfig to it's own class PConfig 2016-06-06 10:22:14 +02:00
rabuzarus 5f081cc47b add doxygen to config functions 2016-06-06 10:01:14 +02:00
Michael Vogel 2275203917 Just some improved queries 2016-01-16 12:32:11 +01:00
Michael Vogel 2db1029830 APC support is removed due to problems with PHP 5.5. 2014-05-03 12:02:25 +02:00
Michael Vogel 9afe5c8670 Support for xcache 2014-03-09 09:24:41 +01:00
Michael Vogel 694ca8fc57 Code cleanup 2013-08-12 11:14:02 +02:00
Michael Vogel e746c4955b Added an option to configure the hostname manually. And there was a problem when APC wasn't present. 2013-08-11 21:19:26 +02:00
Michael Vogel d92a348cf0 - Using APC to store config values (when present)
- Enabling interlacing for pictures
2013-08-09 18:28:50 +02:00
Michael Vogel 6576aae938 If APC is enabled then store config data there 2013-08-06 00:20:16 +02:00
Zach Prezkuta bf26af5ac6 insidious set_config bug 2013-01-18 23:38:49 -07:00
Fabrixxm f433158bed config: fix get_config and get_pconfig search for serialized array
works also if the serialized string contains newlines
2012-08-29 04:19:15 -04:00
friendica 7c2d27e275 rev update 2012-06-16 17:29:42 -07:00
Hauke Zuehl 1231dd72f0 Check if $rr exists 2012-06-16 15:07:23 +02:00
Michael Vogel 7f19d39b14 Doing negative caching for config values, special logfile for database optmisations 2012-05-26 15:41:23 +02:00
Michael Vogel a71e3134bf Merge remote branch 'upstream/master' 2012-05-25 16:19:10 +02:00
Tobias Diekershoff 5dad99888d fix setting array values to config items 2012-05-22 11:56:49 +02:00
Michael Vogel 8c80fe0bf5 Performance tests 2012-05-20 00:11:32 +02:00
Vasudev Kamath 41d74c0868 Another bunch of executable permission removal 2012-04-14 20:16:06 +05:30
friendica 665b2c8107 revert config changes, we're getting duplicate keys 2012-04-06 03:10:46 -07:00
Alexander Kampmann 355c42cb30 Merge branch 'master' of https://github.com/friendica/friendica
Conflicts:
	include/config.php
	update.php
2012-04-05 13:39:15 +02:00
Alexander Kampmann cbf4544887 added index to config and pconfig table
changed config.php to use REPLACE instead of INSERT, 
this removes one db hit.
2012-04-05 13:27:09 +02:00
friendica 71671e5b9a fix config storage of booleans 2012-04-04 17:51:59 -07:00
root aa92901b11 Wrong variable name 2012-02-26 14:29:17 +00:00
friendica 8aa2552372 add remove_user hook (it looks like dreamhost changed all my file permissions, this will make a nasty commit) 2012-01-18 16:21:30 -08:00
Fabio Comuni a6f3b58293 config: set/get arrays with pconfig 2011-12-19 18:01:38 +01:00
Friendika ee6806d82b never enough comments 2011-08-10 01:19:27 -07:00
Friendika 8b31ff15f5 breaking up boot file (part of zot refactor) 2011-08-01 16:51:01 -07:00