X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=67e3d65ae170e4d2f9a90681b847c1a024ccb430;hb=6348e4e47b492d31a20a91917963126a4d6dc30b;hp=4e23794695d29929456d4e5a6b4d013c71da48c4;hpb=daa7dc983bbae309dc984617dbb31a0dba52e481;p=friendica.git diff --git a/boot.php b/boot.php index 4e23794695..67e3d65ae1 100644 --- a/boot.php +++ b/boot.php @@ -1,15 +1,26 @@ \r\n" ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); define ( 'DOWN_ARROW', '⇩' ); - + +/** + * + * Image storage quality. Lower numbers save space at cost of image detail. + * For ease of upgrade, please do not change here. Change jpeg quality with + * set_config('system','jpeg_quality',n) in .htconfig.php + * where n is netween 1 and 100, and with very poor results below about 50 + * + */ + +define ( 'JPEG_QUALITY', 100 ); /** * SSL redirection policies @@ -845,8 +856,10 @@ function login($register = false) { $tpl = load_view_file("view/login.tpl"); } - - $o = replace_macros($tpl,array( + + $o = ''; + + $o .= replace_macros($tpl,array( '$logout' => t('Logout'), '$register_html' => $register_html, '$classname' => $classname,