mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +00:00
ac73ed0e7f
- Changed Data::$l to Data::$lang; it's not used enough to justify the possibly confusing shortening - Made database auto-update a general rather than per-driver setting - Added settings for forthcoming feed fetching service
18 lines
No EOL
398 B
PHP
18 lines
No EOL
398 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
namespace JKingWeb\Arsse;
|
|
|
|
class Data {
|
|
public static $lang;
|
|
public static $conf;
|
|
public static $db;
|
|
public static $user;
|
|
|
|
static function load(Conf $conf) {
|
|
static::$lang = new Lang();
|
|
static::$conf = $conf;
|
|
static::$lang->set($conf->lang);
|
|
static::$db = new Database();
|
|
static::$user = new User();
|
|
}
|
|
} |