<?php
-
/** @file boot.php
*
* This file defines some global constants and includes the central App class.
use Friendica\Core\System;
use Friendica\Core\Cache;
use Friendica\Core\Config;
+use Friendida\Core\L10n;
use Friendica\Core\PConfig;
use Friendica\Core\Worker;
use Friendica\Database\DBM;
use Friendica\Database\DBStructure;
use Friendica\Module\Login;
-require_once 'include/network.php';
require_once 'include/text.php';
require_once 'include/datetime.php';
-require_once 'include/pgettext.php';
define('FRIENDICA_PLATFORM', 'Friendica');
define('FRIENDICA_CODENAME', 'Asparagus');
define('FRIENDICA_VERSION', '3.6-dev');
define('DFRN_PROTOCOL_VERSION', '2.23');
-define('DB_UPDATE_VERSION', 1244);
+define('DB_UPDATE_VERSION', 1248);
define('NEW_UPDATE_ROUTINE_VERSION', 1170);
/**
//send the administrator an e-mail
DBStructure::updateFail(
$x,
- sprintf(t('Update %s failed. See error logs.'), $x)
+ L10n::t('Update %s failed. See error logs.', $x)
);
return false;
} else {