diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-15 18:48:27 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-29 11:48:35 +0200 |
commit | 17977effe775ef05a48a84da40da4b1f049b00d9 (patch) | |
tree | 383ce66a9993826a9fe98e9ae00c3ab4537cb728 /util | |
parent | 477ed97c2fbfff903f9ebf0ffa7fba078eeac10f (diff) | |
download | volse-hubzilla-17977effe775ef05a48a84da40da4b1f049b00d9.tar.gz volse-hubzilla-17977effe775ef05a48a84da40da4b1f049b00d9.tar.bz2 volse-hubzilla-17977effe775ef05a48a84da40da4b1f049b00d9.zip |
more widgets
Diffstat (limited to 'util')
-rw-r--r-- | util/typo.php | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/util/typo.php b/util/typo.php index f9c9e5353..a8d363340 100644 --- a/util/typo.php +++ b/util/typo.php @@ -28,17 +28,18 @@ include_once($file); } - echo "Directory: include/RedDAV\n"; - $files = glob('include/RedDAV/*.php'); + echo "Directory: include/photo\n"; + $files = glob('include/photo/*.php'); foreach($files as $file) { echo $file . "\n"; include_once($file); } + echo "Directory: Zotlabs\n"; $files = glob('Zotlabs/*/*.php'); foreach($files as $file) { - if(strpos($file,'SiteModule') === false) { + if((strpos($file,'SiteModule') === false) || (strpos($file,'SiteWidget') === false)) { echo $file . "\n"; include_once($file); } @@ -51,21 +52,6 @@ include_once($file); } - - echo "Directory: include/photo\n"; - $files = glob('include/photo/*.php'); - foreach($files as $file) { - echo $file . "\n"; - include_once($file); - } - -// echo "Directory: mod\n"; -// $files = glob('mod/*.php'); -// foreach($files as $file) { -// echo $file . "\n"; -// include_once($file); -// } - echo "Directory: addon\n"; $dirs = glob('addon/*'); @@ -93,6 +79,5 @@ foreach($files as $file) { echo $file . "\n"; - passthru($phpath . ' util/typohelper.php ' . $file); -// include_once($file); + passthru($phpath . ' util/typohelper.php ' . $file); } |