summaryrefslogtreecommitdiffstats
path: root/lib/private/installer.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-16 17:25:22 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-16 17:25:22 +0200
commita2ec080427048a9539bd89c08846db519e8effaf (patch)
treed29685643caf46effe1b7fa92dae2eb4d591467d /lib/private/installer.php
parent9d910deef01657bfcc6bcdf61ef72c12961fc52a (diff)
downloadnextcloud-server-a2ec080427048a9539bd89c08846db519e8effaf.tar.gz
nextcloud-server-a2ec080427048a9539bd89c08846db519e8effaf.zip
an-app-is-identified-by-having-a-info.xml-app.php-should-not-be-mandatory
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']);