mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
Remove phpinfo()
This commit is contained in:
parent
3d9b3334ee
commit
7b03ae5ed8
6 changed files with 1 additions and 44 deletions
|
|
@ -225,13 +225,6 @@ export function userBackground(hash) {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {string}
|
||||
*/
|
||||
export function phpInfo() {
|
||||
return SERVER_PREFIX + '/Info';
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} lang
|
||||
* @param {boolean} isAdmin
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ import {
|
|||
|
||||
import { SaveSettingsStep, Magics } from 'Common/Enums';
|
||||
import { reload as translatorReload } from 'Common/Translator';
|
||||
import { phpInfo } from 'Common/Links';
|
||||
|
||||
import { settingsGet } from 'Storage/Settings';
|
||||
import { showScreenPopup } from 'Knoin/Knoin';
|
||||
|
|
@ -177,13 +176,6 @@ class GeneralAdminSettings {
|
|||
LanguageStore.userLanguageAdmin()
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {string}
|
||||
*/
|
||||
phpInfoLink() {
|
||||
return phpInfo();
|
||||
}
|
||||
}
|
||||
|
||||
export { GeneralAdminSettings, GeneralAdminSettings as default };
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ import _ from '_';
|
|||
import ko from 'ko';
|
||||
|
||||
import { trim, boolToAjax } from 'Common/Utils';
|
||||
import { phpInfo } from 'Common/Links';
|
||||
import { StorageResultType, Magics } from 'Common/Enums';
|
||||
|
||||
import { settingsGet } from 'Storage/Settings';
|
||||
|
|
@ -172,13 +171,6 @@ class SecurityAdminSettings {
|
|||
this.twoFactorDropperUser('');
|
||||
this.twoFactorDropperUser.focused(false);
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {string}
|
||||
*/
|
||||
phpInfoLink() {
|
||||
return phpInfo();
|
||||
}
|
||||
}
|
||||
|
||||
export { SecurityAdminSettings, SecurityAdminSettings as default };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue