X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Ffixup_replies.php;h=dd55e6ed40ff1b5e1fc61bc574bb02b8c934934c;hb=f6e929d61c8fc8e16f05f5ac9c0fe7d4289dbb0e;hp=63dd6b35a41133c00657800eba9a1968c97788da;hpb=865b716f0919b6e5133133cd6be53f4143660324;p=quix0rs-gnu-social.git diff --git a/scripts/fixup_replies.php b/scripts/fixup_replies.php index 63dd6b35a4..dd55e6ed40 100755 --- a/scripts/fixup_replies.php +++ b/scripts/fixup_replies.php @@ -18,7 +18,7 @@ * along with this program. If not, see . */ -# Abort if called from a web server +// 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(); @@ -26,6 +26,7 @@ if (isset($_SERVER) && array_key_exists('REQUEST_METHOD', $_SERVER)) { define('INSTALLDIR', realpath(dirname(__FILE__) . '/..')); define('STATUSNET', true); +define('LACONICA', true); // compatibility require_once(INSTALLDIR . '/lib/common.php');