X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fcommandline.inc;h=a475e11d01abba19ba7fb9ba8126f00f312388c7;hb=8005bdb421eaad1c77195d8efa4aaf169082d51d;hp=1573b569db604cc0ad491ee4089bad43f07fbdbd;hpb=bbb830e14c718c687f0636710a1827c90b11f4cc;p=quix0rs-gnu-social.git diff --git a/scripts/commandline.inc b/scripts/commandline.inc index 1573b569db..a475e11d01 100644 --- a/scripts/commandline.inc +++ b/scripts/commandline.inc @@ -27,6 +27,7 @@ if (isset($_SERVER) && array_key_exists('REQUEST_METHOD', $_SERVER)) { } define('STATUSNET', true); +define('LACONICA', true); // compatibility // Set various flags so we don't time out on long-running processes @@ -122,6 +123,10 @@ require_once INSTALLDIR . '/lib/common.php'; set_error_handler('common_error_handler'); +// Set up the language infrastructure so we can localize anything that +// needs to be sent out to users, such as mail notifications. +common_init_language(); + function _make_matches($opt, $alt) { $matches = array();