This commit is contained in:
Duncan Sommerville 2015-01-15 16:44:49 -05:00
parent 791466b023
commit 53b93d01ef
2 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
.* .*
*.pyc *.pyc
*~ *.*~

View File

@ -27,7 +27,7 @@ function checkConfiguration() {
*/ */
function checkPhpDependencies() { function checkPhpDependencies() {
return array( return array(
"zend" => checkMvcDependencies(), "zend" => checkZendDependencies(),
"postgres" => checkDatabaseDependencies() "postgres" => checkDatabaseDependencies()
); );
} }
@ -37,7 +37,7 @@ function checkPhpDependencies() {
* *
* @return boolean true if Zend exists in /usr/share/php * @return boolean true if Zend exists in /usr/share/php
*/ */
function checkMvcDependencies() { function checkZendDependencies() {
return file_exists('/usr/share/php/libzend-framework-php') return file_exists('/usr/share/php/libzend-framework-php')
|| file_exists('/usr/share/php/zendframework'); // Debian version || file_exists('/usr/share/php/zendframework'); // Debian version
} }