}
define('INSTALLDIR', realpath(dirname(__FILE__) . '/../../..'));
-define('STATUSNET', true);
-define('LACONICA', true);
+define('GNUSOCIAL', true);
+define('STATUSNET', true); // compatibility
-require_once INSTALLDIR . '/scripts/commandline.inc';
+require_once INSTALLDIR . '/scripts/commandline.inc.php';
require_once INSTALLDIR . '/extlib/php-gettext/gettext.inc';
common_init_locale("en_US");
$start = microtime(true);
for($i = 0; $i < $times; $i++) {
+ // TRANS: String in the gettext speed test script. Unimportant.
$result = _m("Feeds");
}
$delta["_m"] = array((microtime(true) - $start) / $times, $result);