1
1
Fork 0

make smarty error reporting a bit less chatty

This commit is contained in:
friendica 2012-12-30 00:29:07 -08:00
parent 4b2de6fdf2
commit 215a7f139c
3 changed files with 4 additions and 3 deletions

View file

@ -12,7 +12,7 @@ require_once('library/Mobile_Detect/Mobile_Detect.php');
require_once('include/features.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica');
define ( 'FRIENDICA_VERSION', '3.1.1571' );
define ( 'FRIENDICA_VERSION', '3.1.1572' );
define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
define ( 'DB_UPDATE_VERSION', 1157 );

View file

@ -23,6 +23,7 @@ function replace_macros($s,$r) {
if(gettype($s) === 'string') {
$template = $s;
$s = new FriendicaSmarty();
$s->error_reporting = E_ALL & ~E_NOTICE;
}
foreach($r as $key=>$value) {
if($key[0] === '$') {

View file

@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 3.1.1571\n"
"Project-Id-Version: 3.1.1572\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-12-28 10:00-0800\n"
"POT-Creation-Date: 2012-12-29 10:00-0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"