Browse Source

disabling auto_redir until we prevent it from infinite looping

pull/514/merge
friendica 9 years ago
parent
commit
a02e5f692e
3 changed files with 191 additions and 186 deletions
  1. +4
    -2
      boot.php
  2. +2
    -0
      index.php
  3. +185
    -184
      util/messages.po

+ 4
- 2
boot.php View File

@ -11,7 +11,7 @@ require_once('include/cache.php');
require_once('library/Mobile_Detect/Mobile_Detect.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica');
define ( 'FRIENDICA_VERSION', '3.0.1496' );
define ( 'FRIENDICA_VERSION', '3.0.1497' );
define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
define ( 'DB_UPDATE_VERSION', 1156 );
@ -283,7 +283,9 @@ define ( 'GRAVITY_COMMENT', 6);
*/
function startup() {
error_reporting(E_ERROR | E_WARNING | E_PARSE);
set_time_limit(0);
// This has to be quite large to deal with embedded private photos
@ -403,7 +405,6 @@ if(! class_exists('App')) {
elseif(x($_SERVER,'SERVER_PORT') && (intval($_SERVER['SERVER_PORT']) == 443))
$this->scheme = 'https';
if(x($_SERVER,'SERVER_NAME')) {
$this->hostname = $_SERVER['SERVER_NAME'];
@ -1794,3 +1795,4 @@ function curPageURL() {
}
return $pageURL;
}

+ 2
- 0
index.php View File

@ -29,6 +29,8 @@ $install = ((file_exists('.htconfig.php') && filesize('.htconfig.php')) ? false
@include(".htconfig.php");
$lang = get_browser_language();
load_translation_table($lang);


+ 185
- 184
util/messages.po
File diff suppressed because it is too large
View File


Loading…
Cancel
Save