]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/showplugins.php
Merge branch 'master' into social-master
[quix0rs-gnu-social.git] / scripts / showplugins.php
index 3c03646227aae73c8f089f0e6c26bd4839fa4f58..8b950eb0aa8e2d02e28da63f42ae4cbe9f35b3db 100755 (executable)
 
 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) {