die("Friendica isn't properly installed yet.\n");
}
-Config::load();
+DI::config()->load();
if (empty(Config::get('system', 'pidfile'))) {
die(<<<TXT
*/
class Config
{
- /**
- * Loads all configuration values of family into a cached storage.
- *
- * @param string $cat The category of the configuration value
- *
- * @return void
- */
- public static function load($cat = "config")
- {
- DI::config()->load($cat);
- }
-
/**
* Get a particular user's config variable given the category name ($family) and a key.
*
$stored = intval($build);
$current = intval(DB_UPDATE_VERSION);
if ($stored < $current || $force) {
- Config::load('database');
+ DI::config()->load('database');
Logger::info('Update starting.', ['from' => $stored, 'to' => $current]);
$schemecssfile = false;
$scheme_modified = 0;
-Config::load('frio');
+DI::config()->load('frio');
// Default to hard-coded values for empty settings
$scheme = Config::get('frio', 'scheme', Config::get('frio', 'schema'));