mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +03:00
Show if optional PHP extensions are loaded on Admin -> About page
This commit is contained in:
parent
6c0b5ab33b
commit
d534d2700a
4 changed files with 38 additions and 1 deletions
|
|
@ -1,8 +1,15 @@
|
|||
import ko from 'ko';
|
||||
import { Settings } from 'Common/Globals';
|
||||
import Remote from 'Remote/Admin/Fetch';
|
||||
|
||||
export class AboutAdminSettings /*extends AbstractViewSettings*/ {
|
||||
constructor() {
|
||||
this.version = ko.observable(Settings.app('version'));
|
||||
this.phpextensions = ko.observableArray();
|
||||
}
|
||||
|
||||
onBuild() {
|
||||
Remote.phpExtensions((iError, data) => iError || this.phpextensions(data.Result));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue