X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fshowplugins.php;h=8b950eb0aa8e2d02e28da63f42ae4cbe9f35b3db;hb=261ccfac8699534ff584a2f93d5dcd384529d855;hp=3c03646227aae73c8f089f0e6c26bd4839fa4f58;hpb=06b068d43b62731fdd74e03c7ed0fec32402b831;p=quix0rs-gnu-social.git diff --git a/scripts/showplugins.php b/scripts/showplugins.php index 3c03646227..8b950eb0aa 100755 --- a/scripts/showplugins.php +++ b/scripts/showplugins.php @@ -20,11 +20,11 @@ define('INSTALLDIR', realpath(dirname(__FILE__) . '/..')); -require_once INSTALLDIR.'/scripts/commandline.inc'; +require_once INSTALLDIR.'/scripts/commandline.inc.php'; foreach (StatusNet::getActivePlugins() as $plugin=>$args) { echo "$plugin: "; - if ($args === null) { + if (empty($args)) { echo "(no args)\n"; } else { foreach ($args as $arg => $val) {