Add missing checks for requirements
This commit is contained in:
parent
6d2076e859
commit
f6b1ac8358
|
|
@ -33,9 +33,9 @@ if (DB_DRIVER === 'postgres' && ! extension_loaded('pdo_pgsql')) {
|
|||
}
|
||||
|
||||
// Check other extensions
|
||||
foreach (array('gd', 'mbstring', 'hash', 'openssl', 'json', 'hash', 'ctype', 'filter', 'session') as $ext) {
|
||||
foreach (array('gd', 'mbstring', 'hash', 'openssl', 'json', 'hash', 'ctype', 'filter', 'session', 'dom', 'filter', 'SimpleXML', 'xml') as $ext) {
|
||||
if (! extension_loaded($ext)) {
|
||||
throw new Exception('PHP extension required: "'.$ext.'"');
|
||||
throw new Exception('This PHP extension is required: "'.$ext.'"');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,6 +15,9 @@
|
|||
},
|
||||
"require" : {
|
||||
"php" : ">=5.3.9",
|
||||
"ext-simplexml" : "*",
|
||||
"ext-dom" : "*",
|
||||
"ext-xml" : "*",
|
||||
"ext-gd" : "*",
|
||||
"ext-mbstring" : "*",
|
||||
"ext-hash" : "*",
|
||||
|
|
|
|||
|
|
@ -75,6 +75,10 @@ Kanboard is pre-configured to work with Apache (URL rewriting).
|
|||
| hash | |
|
||||
| ctype | |
|
||||
| session | |
|
||||
| filter | |
|
||||
| xml | |
|
||||
| SimpleXML | |
|
||||
| dom | |
|
||||
| ldap | Only for LDAP authentication |
|
||||
| Zend OPcache | Recommended |
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue