Browse Source

improve direct login on network page

pull/26/merge
friendica 10 years ago
parent
commit
dcc22ab5c5
  1. 2
      boot.php
  2. 4
      mod/network.php

2
boot.php

@ -9,7 +9,7 @@ require_once('include/nav.php');
require_once('include/cache.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica');
define ( 'FRIENDICA_VERSION', '2.3.1222' );
define ( 'FRIENDICA_VERSION', '2.3.1223' );
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
define ( 'DB_UPDATE_VERSION', 1115 );

4
mod/network.php

@ -96,8 +96,10 @@ function network_content(&$a, $update = 0) {
require_once('include/conversation.php');
if(! local_user())
if(! local_user()) {
$_SESSION['return_url'] = $a->query_string;
return login(false);
}
$o = '';

Loading…
Cancel
Save