From: Evan Prodromou Date: Mon, 22 Jun 2009 23:55:55 +0000 (-0700) Subject: getvaliddaemons.php uses commandline.inc X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=06f976f1ac5624c8d447a0bed1b1205cea6747fd;p=quix0rs-gnu-social.git getvaliddaemons.php uses commandline.inc --- diff --git a/scripts/getvaliddaemons.php b/scripts/getvaliddaemons.php index a45ff79aba..198ea8fb9a 100755 --- a/scripts/getvaliddaemons.php +++ b/scripts/getvaliddaemons.php @@ -25,16 +25,14 @@ * daemon names. */ -# Abort if called from a web server -if (isset($_SERVER) && array_key_exists('REQUEST_METHOD', $_SERVER)) { - print "This script must be run from the command line\n"; - exit(); -} - define('INSTALLDIR', realpath(dirname(__FILE__) . '/..')); -define('LACONICA', true); -require_once(INSTALLDIR . '/lib/common.php'); +$helptext = <<