use Friendica\Database\DBStructure;
use Friendica\Object\Image;
use Friendica\Util\Logger\VoidLogger;
-use Friendica\Util\BasePath;
use Friendica\Util\Network;
use Friendica\Util\Profiler;
use Friendica\Util\Strings;
{
$basepath = $configCache->get('system', 'basepath');
- $url = $configCache->get('system', 'url');
-
$tpl = Renderer::getMarkupTemplate('local.config.tpl');
$txt = Renderer::replaceMacros($tpl, [
'$dbhost' => $configCache->get('database', 'hostname'),
'$hostname' => $configCache->get('config', 'hostname'),
'$urlpath' => $configCache->get('system', 'urlpath'),
- '$baseurl' => $url,
+ '$baseurl' => $configCache->get('system', 'url'),
'$sslpolicy' => $configCache->get('system', 'ssl_policy'),
'$basepath' => $basepath,
'$timezone' => $configCache->get('system', 'default_timezone'),
$configCache->get('database', 'hostname'),
'',
'required'],
- '$dbuser ' => ['database-username',
+ '$dbuser' => ['database-username',
L10n::t('Database Login Name'),
$configCache->get('database', 'username'),
'',