Fixes for code review https://github.com/sourcefabric/Airtime/pull/84
This commit is contained in:
parent
791466b023
commit
53b93d01ef
2 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ function checkConfiguration() {
|
|||
*/
|
||||
function checkPhpDependencies() {
|
||||
return array(
|
||||
"zend" => checkMvcDependencies(),
|
||||
"zend" => checkZendDependencies(),
|
||||
"postgres" => checkDatabaseDependencies()
|
||||
);
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ function checkPhpDependencies() {
|
|||
*
|
||||
* @return boolean true if Zend exists in /usr/share/php
|
||||
*/
|
||||
function checkMvcDependencies() {
|
||||
function checkZendDependencies() {
|
||||
return file_exists('/usr/share/php/libzend-framework-php')
|
||||
|| file_exists('/usr/share/php/zendframework'); // Debian version
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue