summaryrefslogtreecommitdiffstats
path: root/lib/private/installer.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-16 21:28:55 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-16 21:28:55 +0200
commit6cd1126dd13ec4561144a0124bedd5394a7c8ff9 (patch)
treee275bc713cd34ef05097e54851b71769a0f90ff0 /lib/private/installer.php
parent0f309c0977f190419b6f1bb04b4afbb189d82eea (diff)
parent8a036842aa74620d9cf5f19b2c4054089d44a936 (diff)
downloadnextcloud-server-6cd1126dd13ec4561144a0124bedd5394a7c8ff9.tar.gz
nextcloud-server-6cd1126dd13ec4561144a0124bedd5394a7c8ff9.zip
Merge pull request #19843 from owncloud/an-app-is-identified-by-having-a-info.xml-app.php-should-not-be-mandatory
an-app-is-identified-by-having-a-info.xml-app.php-should-not-be-manda…
Diffstat (limited to 'lib/private/installer.php')
-rw-r--r--lib/private/installer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/installer.php b/lib/private/installer.php
index 861ce6ea41b..b5ccc02abf3 100644
--- a/lib/private/installer.php
+++ b/lib/private/installer.php
@@ -502,7 +502,7 @@ class OC_Installer{
if($dir = opendir( $app_dir['path'] )) {
while( false !== ( $filename = readdir( $dir ))) {
if( substr( $filename, 0, 1 ) != '.' and is_dir($app_dir['path']."/$filename") ) {
- if( file_exists( $app_dir['path']."/$filename/appinfo/app.php" )) {
+ if( file_exists( $app_dir['path']."/$filename/appinfo/info.xml" )) {
if(!OC_Installer::isInstalled($filename)) {
$info=OC_App::getAppInfo($filename);
$enabled = isset($info['default_enable']);