Fixes for code review https://github.com/sourcefabric/Airtime/pull/84
This commit is contained in:
parent
791466b023
commit
53b93d01ef
|
@ -1,3 +1,3 @@
|
|||
.*
|
||||
*.pyc
|
||||
*~
|
||||
*.*~
|
||||
|
|
|
@ -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…
Reference in New Issue