}
if ($name===""){
echo "template engine <tt>$class</tt> cannot be registered without a name.\n";
- killme();
+ killme();
}
$this->template_engines[$name] = $class;
}
/**
* return template engine instance. If $name is not defined,
* return engine defined by theme, or default
- *
+ *
* @param strin $name Template engine name
* @return object Template Engine instance
*/
require_once("include/dbstructure.php");
$retval = update_structure(false, true);
if($retval) {
- //send the administrator an e-mail
- $email_tpl = get_intltext_template("update_fail_eml.tpl");
- $email_msg = replace_macros($email_tpl, array(
- '$sitename' => $a->config['sitename'],
- '$siteurl' => $a->get_baseurl(),
- '$update' => DB_UPDATE_VERSION,
- '$error' => sprintf(t('Update %s failed. See error logs.'), DB_UPDATE_VERSION)
- ));
- $subject=sprintf(t('Update Error at %s'), $a->get_baseurl());
- require_once('include/email.php');
- $subject = email_header_encode($subject,'UTF-8');
- mail($a->config['admin_email'], $subject, $email_msg,
- 'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME']."\n"
- .'Content-type: text/plain; charset=UTF-8'."\n"
- .'Content-transfer-encoding: 8bit');
- //try the logger
- logger("CRITICAL: Database structure update failed: ".$retval);
+ update_fail(
+ DB_UPDATE_VERSION,
+ sprintf(t('Update %s failed. See error logs.'), DB_UPDATE_VERSION)
+ );
break;
- } else
+ } else {
set_config('database','dbupdate_'.DB_UPDATE_VERSION, 'success');
+ }
for($x = $stored; $x < $current; $x ++) {
if(function_exists('update_' . $x)) {
$retval = $func();
if($retval) {
//send the administrator an e-mail
- $email_tpl = get_intltext_template("update_fail_eml.tpl");
- $email_msg = replace_macros($email_tpl, array(
- '$sitename' => $a->config['sitename'],
- '$siteurl' => $a->get_baseurl(),
- '$update' => $x,
- '$error' => sprintf( t('Update %s failed. See error logs.'), $x)
- ));
- $subject=sprintf(t('Update Error at %s'), $a->get_baseurl());
- require_once('include/email.php');
- $subject = email_header_encode($subject,'UTF-8');
- mail($a->config['admin_email'], $subject, $email_msg,
- 'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME'] . "\n"
- . 'Content-type: text/plain; charset=UTF-8' . "\n"
- . 'Content-transfer-encoding: 8bit' );
- //try the logger
- logger('CRITICAL: Update Failed: '. $x);
+ update_fail(
+ $x,
+ sprintf(t('Update %s failed. See error logs.'), $x)
+ );
break;
} else {
set_config('database','update_' . $x, 'success');
}
$noid = get_config('system','no_openid');
-
+
$dest_url = $a->get_baseurl(true) . '/' . $a->query_string;
if(local_user()) {
'$dest_url' => $dest_url,
'$logout' => t('Logout'),
'$login' => t('Login'),
-
+
'$lname' => array('username', t('Nickname or Email address: ') , '', ''),
'$lpassword' => array('password', t('Password: '), '', ''),
'$lremember' => array('remember', t('Remember me'), 0, ''),
-
+
'$openid' => !$noid,
'$lopenid' => array('openid_url', t('Or login using OpenID: '),'',''),
-
+
'$hiddens' => $hiddens,
-
+
'$register' => $reg,
-
+
'$lostpass' => t('Forgot your password?'),
'$lostlink' => t('Password Reset'),
if(! function_exists('notice')) {
/**
* Show an error message to user.
- *
+ *
* This function save text in session, to be shown to the user at next page load
- *
+ *
* @param string $s - Text of notice
*/
function notice($s) {
if(! function_exists('info')) {
/**
* Show an info message to user.
- *
+ *
* This function save text in session, to be shown to the user at next page load
- *
+ *
* @param string $s - Text of notice
*/
function info($s) {
$rr['date'] = day_translate(datetime_convert('UTC', $a->timezone, $rr['start'], $rr['adjust'] ? $bd_format : $bd_short)) . (($today) ? ' ' . t('[today]') : '');
$rr['startime'] = Null;
$rr['today'] = $today;
-
+
}
}
}
$strt = datetime_convert('UTC',$rr['convert'] ? $a->timezone : 'UTC',$rr['start']);
$today = ((substr($strt,0,10) === datetime_convert('UTC',$a->timezone,'now','Y-m-d')) ? true : false);
-
+
$rr['link'] = $md;
$rr['title'] = $title;
$rr['date'] = day_translate(datetime_convert('UTC', $rr['adjust'] ? $a->timezone : 'UTC', $rr['start'], $bd_format)) . (($today) ? ' ' . t('[today]') : '');
}
$args = $newargs;
-
+
$arr = array('args' => $args, 'run_cmd' => true);
call_hooks("proc_run", $arr);
if(count($args) && $args[0] === 'php')
$args[0] = ((x($a->config,'php_path')) && (strlen($a->config['php_path'])) ? $a->config['php_path'] : 'php');
-
+
// add baseurl to args. cli scripts can't construct it
$args[] = $a->get_baseurl();
-
+
for($x = 0; $x < count($args); $x ++)
$args[$x] = escapeshellarg($args[$x]);
-
+
$cmdline = implode($args," ");
if(get_config('system','proc_windows'))
if(! function_exists('current_theme')) {
function current_theme(){
$app_base_themes = array('duepuntozero', 'dispy', 'quattro');
-
+
$a = get_app();
-
+
// $mobile_detect = new Mobile_Detect();
// $is_mobile = $mobile_detect->isMobile() || $mobile_detect->isTablet();
$is_mobile = $a->is_mobile || $a->is_tablet;
(file_exists('view/theme/' . $theme_name . '/style.css') ||
file_exists('view/theme/' . $theme_name . '/style.php')))
return($theme_name);
-
+
foreach($app_base_themes as $t) {
if(file_exists('view/theme/' . $t . '/style.css')||
file_exists('view/theme/' . $t . '/style.php'))
return($t);
}
-
+
$fallback = array_merge(glob('view/theme/*/style.css'),glob('view/theme/*/style.php'));
if(count($fallback))
return (str_replace('view/theme/','', substr($fallback[0],0,-10)));
-
+
}
}
*
*/
-
+
$birthday = '';
if(! strlen($tz))
if(! function_exists('profile_tabs')){
function profile_tabs($a, $is_owner=False, $nickname=Null){
//echo "<pre>"; var_dump($a->user); killme();
-
+
if (is_null($nickname))
$nickname = $a->user['nickname'];
-
+
if(x($_GET,'tab'))
$tab = notags(trim($_GET['tab']));
-
+
$url = $a->get_baseurl() . '/profile/' . $nickname;
$tabs = array(
'id' => 'video-tab',
),
);
-
+
if ($is_owner){
$tabs[] = array(
'label' => t('Events'),
$arr = array('is_owner' => $is_owner, 'nickname' => $nickname, 'tab' => (($tab) ? $tab : false), 'tabs' => $tabs);
call_hooks('profile_tabs', $arr);
-
+
$tpl = get_markup_template('common_tabs.tpl');
return replace_macros($tpl,array('$tabs' => $arr['tabs']));
/**
* returns querystring as string from a mapped array
*
-* @param params Array
+* @param params Array
* @return string
*/
-function build_querystring($params, $name=null) {
- $ret = "";
+function build_querystring($params, $name=null) {
+ $ret = "";
foreach($params as $key=>$val) {
- if(is_array($val)) {
+ if(is_array($val)) {
if($name==null) {
- $ret .= build_querystring($val, $key);
+ $ret .= build_querystring($val, $key);
} else {
- $ret .= build_querystring($val, $name."[$key]");
+ $ret .= build_querystring($val, $name."[$key]");
}
} else {
$val = urlencode($val);
if($name!=null) {
- $ret.=$name."[$key]"."=$val&";
+ $ret.=$name."[$key]"."=$val&";
} else {
- $ret.= "$key=$val&";
+ $ret.= "$key=$val&";
}
- }
- }
- return $ret;
+ }
+ }
+ return $ret;
}
function explode_querystring($query) {
<?php
require_once("boot.php");
+require_once("include/text.php");
+/*
+ * send the email and do what is needed to do on update fails
+ *
+ * @param update_id (int) number of failed update
+ * @param error_message (str) error message
+ */
+function update_fail($update_id, $error_message){
+ //send the administrators an e-mail
+ $admin_mail_list = "'".implode("','", array_map(dbesc, explode(",", str_replace(" ", "", $a->config['admin_email']))))."'";
+ $adminlist = q("SELECT uid, language, email FROM user WHERE email IN (%s)",
+ $admin_mail_list
+ );
+
+ // every admin could had different language
+
+ foreach ($adminlist as $admin) {
+ $lang = (($admin['language'])?$admin['language']:'en');
+ push_lang($lang);
+
+ $preamble = deindent(t("
+ The friendica developers released update %s recently,
+ but when I tried to install it, something went terribly wrong.
+ This needs to be fixed soon and I can't do it alone. Please contact a
+ friendica developer if you can not help me on your own. My database might be invalid.");
+ $body = t("The error message is\n[pre]%s[/pre]");
+ $preamble = sprintf($preamble, $update_id);
+ $body = sprintf($body, $error_message);
+
+ notification(array(
+ 'type' => "SYSTEM_EMAIL",
+ 'to_email' => $admin['email'],
+ 'preamble' => $preamble,
+ 'body' => $body,
+ 'language' => $lang,
+ ));
+ }
+
+
+
+
+ /*
+ $email_tpl = get_intltext_template("update_fail_eml.tpl");
+ $email_msg = replace_macros($email_tpl, array(
+ '$sitename' => $a->config['sitename'],
+ '$siteurl' => $a->get_baseurl(),
+ '$update' => DB_UPDATE_VERSION,
+ '$error' => sprintf(t('Update %s failed. See error logs.'), DB_UPDATE_VERSION)
+ ));
+ $subject=sprintf(t('Update Error at %s'), $a->get_baseurl());
+ require_once('include/email.php');
+ $subject = email_header_encode($subject,'UTF-8');
+ mail($a->config['admin_email'], $subject, $email_msg,
+ 'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME']."\n"
+ .'Content-type: text/plain; charset=UTF-8'."\n"
+ .'Content-transfer-encoding: 8bit');
+ */
+ //try the logger
+ logger("CRITICAL: Database structure update failed: ".$retval);
+ break;
+}
function dbstructure_run(&$argv, &$argc) {
global $a, $db;
case "SYSTEM_REGISTER_REQUEST":
$subject = sprintf( t('[Friendica System:Notify] registration request'));
$preamble = sprintf( t('You\'ve received a registration request from \'%1$s\' at %2$s'), $params['source_name'], $sitename);
- $epreamble = sprintf( t('You\'ve received a registration request [url=%1$s]an introduction[/url] from %2$s.'),
+ $epreamble = sprintf( t('You\'ve received a [url=%1$s]registration request[/url] from %2$s.'),
$itemlink,
'[url=' . $params['source_link'] . ']' . $params['source_name'] . '[/url]');
$body = sprintf( t('Full Name: %1$s\nSite Location: %2$s\nLogin Name: %3$s (%4$s)'),
// send email to admins
$admin_mail_list = "'".implode("','", array_map(dbesc, explode(",", str_replace(" ", "", $a->config['admin_email']))))."'";
- $adminlist = q("SELECT uid, language, email FROM user WHERE email IN (%s) LIMIT 1",
+ $adminlist = q("SELECT uid, language, email FROM user WHERE email IN (%s)",
$admin_mail_list
);
+++ /dev/null
-Cheic, \r
-Jo soc a $sitename. \r
-Els desenvolupadors de Friendica han alliberat una actualització $update recentment, \r
-però quan vaig intentar actualitzar, quelcom terrible va anar malament. \r
-Això necessita ser reparat aviat i no ho puc fer sol. Per favor, contacta amb \r
-un desenvolupador de Friendica si no em pots ajudar per tu mateix. La meva base de dades es pot corrompre. \r
-\r
-El missatge d'error va ser '$error'. \r
-\r
-Ho lamento. \r
-El teu servidor friendica a $siteurl
\ No newline at end of file
+++ /dev/null
-Ahoj, \r
-Já jsem $sitename. \r
-Vývojáři friendica nednávno uvolnili aktualizaci $update, \r
-ale když jsem se ji snažil nainstalovat, nepovedlo se mi to. \r
-Je to třeba rychle opravit a já to sám nedokážu. Prosím kontaktuj \r
-vývojáře friendica, pokud mi nemůžeš pomoct ty sám. Moje databáze může být nekonzistentní. \r
-\r
-Chybová zpráva je '$error'. \r
-\r
-Je mi líto, \r
-Tvůj web friendica na $siteurl
\ No newline at end of file
+++ /dev/null
-
-Hi, \r
-ich bin {{$sitename}}. \r
-Die friendica Entwickler haben jüngst Update {{$update}} veröffentlicht, \r
-aber als ich versucht habe es zu installieren ist etwas schrecklich schief gegangen. \r
-Das sollte schnellst möglichst behoben werden und ich kann das nicht alleine machen. \r
-Bitte wende dich an einen friendica Entwickler, falls du mir nicht alleine helfen kannst. Meine Datenbank könnte unbrauchbar sein. \r
-\r
-Die Fehlermeldung lautet '{{$error}}'. \r
-\r
-Tut mir Leid! \r
-Deine friendica Instanz auf {{$siteurl}}
\ No newline at end of file
+++ /dev/null
-Hi, \r
-$sitename \r
-Die friendica Entwickler haben jüngst Update $update veröffentlicht, \r
-aber als ich versucht habe es zu installieren ist etwas schrecklich schief gegangen. \r
-Das sollte schnellst möglich behoben werden und ich kann das nicht alleine machen. \r
-Bitte wende dich an einen friendica Entwickler, falls du mir nicht alleine helfen kannst. Meine Datenbank könnte unbrauchbar sein. \r
-\r
-Die Fehlermeldung lautet '$error'. \r
-\r
-Tut mir Leid! \r
-Deine friendica Instanz auf $siteurl
\ No newline at end of file
+++ /dev/null
-
-Hey, \r
-I'm {{$sitename}}; \r
-The friendica developers released update {{$update}} recently, \r
-but when I tried to install it, something went terribly wrong. \r
-This needs to be fixed soon and I can't do it alone. Please contact a \r
-friendica developer if you can not help me on your own. My database might be invalid. \r
-\r
-The error message is '{{$error}}'. \r
-\r
-I'm sorry, \r
-your friendica server at {{$siteurl}}
\ No newline at end of file
+++ /dev/null
-Hey, \r
-I'm $sitename; \r
-The friendica developers released update $update recently, \r
-but when I tried to install it, something went terribly wrong. \r
-This needs to be fixed soon and I can't do it alone. Please contact a \r
-friendica developer if you can not help me on your own. My database might be invalid. \r
-\r
-The error message is '$error'. \r
-\r
-I'm sorry, \r
-your friendica server at $siteurl
\ No newline at end of file
+++ /dev/null
-
-Saluton! \r
-Mi estas {{$sitename}}. \r
-La programistoj de Frienda eldonis ĝisdatigon {{$update}} antaŭ ne longe, \r
-sed kiam mi provis instali ĝin, io terure malsukcesis. \r
-Tio tuj bezonas riparon kaj mi ne povas fari ĝin sole. Bonvolu kontakti \r
-Friendica programistion se vi ne povas helpi vin mem. Mia datumbazo eble ne plu validas. \r
-\r
-La erarmesaĝo estas '{{$error}}'. \r
-\r
-Mi bedaŭras, \r
-via Friendica servilo ĉe {{$siteurl}}
\ No newline at end of file
+++ /dev/null
-Saluton! \r
-Mi estas $sitename. \r
-La programistoj de Frienda eldonis ĝisdatigon $update antaŭ ne longe, \r
-sed kiam mi provis instali ĝin, io terure malsukcesis. \r
-Tio tuj bezonas riparon kaj mi ne povas fari ĝin sole. Bonvolu kontakti \r
-Friendica programistion se vi ne povas helpi vin mem. Mia datumbazo eble ne plu validas. \r
-\r
-La erarmesaĝo estas '$error'. \r
-\r
-Mi bedaŭras, \r
-via Friendica servilo ĉe $siteurl
\ No newline at end of file
+++ /dev/null
-Hola, \r
-Estoy en $sitename; \r
-Los desarrolladores actualizaron a $update recientemente, \r
-pero cuando intento instalarlo, algo falla. \r
-Este error debe ser corregido, pero no puedo hacerlo solo. Por favor, \r
-avisa a algún desarrollador si no puedes ayudarme tú mismo. Mi \r
-\r
-base de datos puede estar corrupta. El error que me da es '$error'. \r
-\r
-Lo siento, \r
-tu servidor de Friendica en $siteurl
\ No newline at end of file
+++ /dev/null
-Salut, \r
-Je suis $sitename; \r
-Les développeurs de Friendica ont publié la mise-à-jour $update récemment, \r
-mais quand j'essaye de l'installer, quelque-chose merdoie violemment. \r
-Il faudrait réparer ça rapidement, et je ne peux le faire tout seul. Merci de contacter un développeur Friendica \r
- si vous ne pensez pas pouvoir m'aider tout seul. Ma base de données pourrait tout à fait être corrompue. \r
-\r
-Le message d'erreur est '$error'. \r
-\r
-Je suis vraiment désolé, \r
-votre dévoué serveur friendica, situé à $siteurl
\ No newline at end of file
+++ /dev/null
-
-Hæ, \r
-Ég er {{$sitename}}. \r
-Þróunarteymi friendica gáfu nýlega út uppfærslu {{$update}}, \r
-En þegar ég reyndi að uppfæra, gerist eitthvað hræðilegt. \r
-Þetta þarf að laga strax og ég get það ekki ein. Hafðu samband við \r
-þróunarteymi friendica ef þú getur ekki hjálpað mér. Gagnagrunnurinn minn gæti verið skemmdur \r
-\r
-Villuskilaboðin eru '{{$error}}'. \r
-\r
-Fyrirgefðu, \r
-þinn friendica þjónn á {{$siteurl}}
\ No newline at end of file
+++ /dev/null
-Hæ, \r
-Ég er $sitename; \r
-Þróunarteymi friendica gáfu nýlega út uppfærslu $update, \r
-En þegar ég reyndi að uppfæra, gerist eitthvað hræðilegt. \r
-Þetta þarf að laga strax og ég get það ekki ein. Hafðu samband við \r
-þróunarteymi friendica ef þú getur ekki hjálpað mér. Gagnagrunnurinn minn gæti verið skemmdur \r
-\r
-Villuskilaboðin eru '$error'. \r
-\r
-Fyrirgefðu, \r
-þinn friendica þjónn á $siteurl
\ No newline at end of file
+++ /dev/null
-Ehi, \r
-Sono {{$sitename}}; \r
-Gli sviluppatori di Friendica hanno appena rilasciato la nuova versione {{$update}}, \r
-ma appena ho provato ad installarla qualcosa è andato tremendamente storto. \r
-Le cose vanno messe a posto al più presto e non riesco a farlo da solo. Contatta uno \r
-sviluppatore di friendica se non riesci ad aiutarmi da solo. Il mio database potrebbe non essere più a posto. \r
-\r
-Il messaggio di errore è: '{{$error}}'. \r
-\r
-Mi dispiace, \r
-il tuo server friendica su {{$siteurl}}
\ No newline at end of file
+++ /dev/null
-
-Hei, \r
-jeg er {{$sitename}}. \r
-Friendica-utviklerne slapp nylig oppdateringen {{$update}}, \r
-men da jeg prøvde å installere den, gikk noe forferdelig galt. \r
-Dette trenger å bli fikset raskt og jeg kan ikke gjøre det alene. Vennligst kontakt en \r
-Friendica-utvikler hvis du ikke kan hjelpe meg på egenhånd. Databasen min er kanskje ugyldig. \r
-\r
-Feilmeldingen er '{{$error}}'. \r
-\r
-Jeg beklager, \r
-din Friendica-tjener hos {{$siteurl}}
\ No newline at end of file
+++ /dev/null
-Hei, \r
-Jeg er $sitename; \r
-Friendica-utviklerne slapp nylig oppdateringen $update, \r
-men da jeg prøvde å installere den, gikk noe forferdelig galt. \r
-Dette trenger å bli fikset raskt og jeg kan ikke gjøre det alene. Vennligst kontakt en \r
-Friendica-utvikler hvis du ikke kan hjelpe meg på egenhånd. Databasen min er kanskje ugyldig. \r
-\r
-Feilmeldingen er '$error'. \r
-\r
-Jeg beklager, \r
-din Friendica-tjener hos $siteurl
\ No newline at end of file
+++ /dev/null
-Hallo, \r
-Ik ben $sitename; \r
-De friendica ontwikkelaars hebben update $update vrijgegeven. \r
-Maar toen ik probeerde te installeren ging het vreselijk fout \r
-Dit moet snel gerepareerd worden maar dat kan ik niet alleen, Contacteer a.u.b. \r
-een Friendica ontwikkelaar als je me niet zelf kunt helpen. Mijn database kan ongeldig zijn. \r
-\r
-De foutmeldimg is '$error'. \r
-\r
-Sorry, \r
-je Friendica server op $siteurl
\ No newline at end of file
+++ /dev/null
-
-Hey, \r
-Jestem {{$sitename}}. \r
-Deweloperzy friendica wydali ostatnio aktualizację {{$update}}, \r
-ale kiedy próbowałem ją zainstalować, coś poszło nie tak. \r
-To musi być szybko poprawione, ale nie mogę zrobić tego sam. Proszę o kontakt z \r
-deweloperami friendica, jeśli nie możesz mi pomóc na własną rękę. Moja baza danych może być uszkodzona. \r
-\r
-Komunikat o błędzie: '{{$error}}'. \r
-\r
-Przepraszam, \r
-twój serwer friendica w {{$siteurl}}
\ No newline at end of file
+++ /dev/null
-Hey, \r
-Jestem $sitename; \r
-Deweloperzy friendica wydali ostatnio aktualizację $update, \r
-ale kiedy próbowałem ją zainstalować, coś poszło nie tak. \r
-To musi być szybko poprawione, ale nie mogę zrobić tego sam. Proszę o kontakt z \r
-deweloperami friendica, jeśli nie możesz mi pomóc na własną rękę. Moja baza danych może być uszkodzona. \r
-\r
-Komunikat o błędzie: '$error'. \r
-\r
-Przepraszam, \r
-twój serwer friendica w $siteurl
\ No newline at end of file
+++ /dev/null
-
-Oi, \r
-Eu sou {{$sitename}} \r
-Os desenvolvedores do friendica lançaram uma atualização {{$update}} recentemente, \r
-mas quando tentei instalá-la algo de errado aconeteceu. \r
-Isso precisa ser corrigido logo e não posso fazê-lo sozinho. Por favor contacte um \r
-desenvolvedor do friendica se você não puder fazer a correção. Meu banco de dados pode estar inválido. \r
-\r
-A mensagem de erro é : '{{$error}}'. \r
-\r
-Lamento. \r
-Seu servidor friendica em {{$siteurl}}
\ No newline at end of file
+++ /dev/null
-Oi, \r
-Eu sou $sitename \r
-Os desenvolvedores do friendica lançaram uma atualização $update recentemente, \r
-mas quando tentei instalá-la algo de errado aconeteceu. \r
-Isso precisa ser corrigido logo e não posso fazê-lo sozinho. Por favor contacte um \r
-desenvolvedor do friendica se você não puder fazer a correção. Meu banco de dados pode estar inválido. \r
-\r
-A mensagem de erro é : '$error'. \r
-\r
-Lamento. \r
-Seu servidor friendica em $siteurl
\ No newline at end of file
+++ /dev/null
-Bună, \r
-Sunt $sitename; \r
-Dezvoltatorii friendica au lansat actualizarea $update recent, \r
-dar când am incercat s-o instalez, ceva a mers teribil de prost. \r
-Aceasta trebuie fixată curând . Nu o pot face singur. Vă rog contactaţi-mă la \r
-friendica dezvoltator dacă nu mă pot ajuta pe cont propriu. Baza mea de date ar putea fi invalidă. \r
-\r
-Mesajul de eraoare este '$error'. \r
-\r
-Îmi pare rău. \r
-serverul dvs. friendica la $siteurl
\ No newline at end of file
+++ /dev/null
-
-Hey, \r
-I'm {{$sitename}}. \r
-The friendica developers released update {{$update}} recently, \r
-but when I tried to install it, something went terribly wrong. \r
-This needs to be fixed soon and I can't do it alone. Please contact a \r
-friendica developer if you can not help me on your own. My database might be invalid. \r
-\r
-The error message is '{{$error}}'. \r
-\r
-I'm sorry, \r
-your friendica server at {{$siteurl}}
\ No newline at end of file
+++ /dev/null
-你好, \r
-我是$sitename; \r
-Friendica开发者最近出版更新$update, \r
-可我安装的时候,遇到什么灾害, \r
-这要紧急地维修,可我不会自己做。请联系 \r
-一个Friendica开发者如果你不会自己帮我。我的数据库会不效。 \r
-\r
-错误通信是「$error」 \r
-\r
-不好意思, \r
-你Friendica服务器在$siteurl
\ No newline at end of file