aboutsummaryrefslogtreecommitdiffstats
path: root/include/apps.php
diff options
context:
space:
mode:
authorPaolo T <tuscanhobbit@users.noreply.github.com>2014-10-12 09:07:35 +0200
committerPaolo T <tuscanhobbit@users.noreply.github.com>2014-10-12 09:07:35 +0200
commit44c4c9c5c271a5ad163a089b1dc271d108a59700 (patch)
treec1376be525c85ab799f213ed79648d8c478da3d0 /include/apps.php
parent29faf955f6ce35af747d867133b3cb09e79ba675 (diff)
parentfd00a24957fdb9413523b19a014658a0cc87b4bf (diff)
downloadvolse-hubzilla-44c4c9c5c271a5ad163a089b1dc271d108a59700.tar.gz
volse-hubzilla-44c4c9c5c271a5ad163a089b1dc271d108a59700.tar.bz2
volse-hubzilla-44c4c9c5c271a5ad163a089b1dc271d108a59700.zip
Merge pull request #4 from friendica/master
Fast forward local hub
Diffstat (limited to 'include/apps.php')
-rw-r--r--include/apps.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/apps.php b/include/apps.php
index 91012b0ef..cd0c2984e 100644
--- a/include/apps.php
+++ b/include/apps.php
@@ -11,7 +11,10 @@ require_once('include/identity.php');
function get_system_apps() {
$ret = array();
- $files = glob('app/*.apd');
+ if(is_dir('apps'))
+ $files = glob('apps/*.apd');
+ else
+ $files = glob('app/*.apd');
if($files) {
foreach($files as $f) {
$x = parse_app_description($f);