123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- define('INSTALLDIR', dirname(__DIR__));
- define('PUBLICDIR', INSTALLDIR . DIRECTORY_SEPARATOR . 'public');
- require_once INSTALLDIR.'/scripts/commandline.inc';
- foreach (StatusNet::getActivePlugins() as $plugin=>$args) {
- echo "$plugin: ";
- if (empty($args)) {
- echo "(no args)\n";
- } else {
- foreach ($args as $arg => $val) {
- echo "\n $arg: ";
- var_export($val);
- }
- echo "\n";
- }
- echo "\n";
- }
|