mirror of
https://github.com/friendica/friendica
synced 2025-04-25 21:10:11 +00:00
Add addon config hook
This commit is contained in:
parent
b10ae510c0
commit
2e2930d770
3 changed files with 67 additions and 9 deletions
|
@ -845,6 +845,12 @@ function admin_page_summary(App $a)
|
|||
$warningtext[] = L10n::t('The last worker execution was on %s UTC. This is older than one hour. Please check your crontab settings.', $last_worker_call);
|
||||
}
|
||||
|
||||
// Legacy config file warning
|
||||
if (file_exists('.htconfig.php')) {
|
||||
$showwarning = true;
|
||||
$warningtext[] = L10n::t('Friencia\'s configuration now is stored in config/local.ini.php, please copy config/local-sample.ini.php and move your config from <code>.htconfig.php</code>.');
|
||||
}
|
||||
|
||||
$r = q("SELECT `page-flags`, COUNT(`uid`) AS `count` FROM `user` GROUP BY `page-flags`");
|
||||
$accounts = [
|
||||
[L10n::t('Normal Account'), 0],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue