From 664c762b35d894b6c055eb57a72f01dae97b48c3 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 15 Mar 2017 18:48:27 -0700 Subject: more widgets --- util/typo.php | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) (limited to 'util/typo.php') 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); } -- cgit v1.2.3 From f43428aacf940b84b05e1554cc53e29e60846ae4 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 29 Mar 2017 16:16:29 -0700 Subject: channel_store_lowlevel declared twice --- util/typo.php | 1 - 1 file changed, 1 deletion(-) (limited to 'util/typo.php') diff --git a/util/typo.php b/util/typo.php index a8d363340..e25e57601 100644 --- a/util/typo.php +++ b/util/typo.php @@ -12,7 +12,6 @@ App::init(); -// $a = new App(); echo "Directory: include\n"; $files = glob('include/*.php'); -- cgit v1.2.3