mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 04:24:45 -04:00
Add fast PHP version check and exit.
This commit is contained in:
parent
d4e349f260
commit
85be66886a
4 changed files with 29 additions and 14 deletions
|
@ -162,6 +162,12 @@ modulejs.define('main/info', ['$', 'config'], function ($, config) {
|
|||
|
||||
function init() {
|
||||
|
||||
if (config.err === 'ERR_PHP') {
|
||||
$(testsTemp).appendTo('#content');
|
||||
addTest('PHP version', config.msg, false, config.ver);
|
||||
return;
|
||||
}
|
||||
|
||||
addLogin();
|
||||
if (setup.AS_ADMIN) {
|
||||
addTests();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue