Project

General

Profile

« Previous | Next » 

Revision 1604

Added by Dietmar almost 13 years ago

fixed parse error in login.php

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
=========================== add small Features 2.8.2 ==========================
14
08 Feb-2012 Build 1604 Dietmar Woellbrink (Luisehahne)
15
# fixed parse error in login.php
14 16
08 Feb-2012 Build 1603 Dietmar Woellbrink (Luisehahne)
15 17
! fix local module reload and module manuell install
16 18
! forgot to upload login.php
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.2');
54
if(!defined('REVISION')) define('REVISION', '1603');
54
if(!defined('REVISION')) define('REVISION', '1604');
55 55
if(!defined('SP')) define('SP', 'SP2');
branches/2.8.x/wb/account/login.php
57 57
$redirect = ((isset($_SESSION['HTTP_REFERER']) && ($redirect='')) ?  $_SESSION['HTTP_REFERER'] : $redirect);
58 58
// $_SESSION['HTTP_REFERER'] = str_replace(WB_URL,'',$redirect);
59 59

  
60
// $loginUrl  = WB_URL.'/account/login.php';
61
$loginUrl .= (($redirect!='') ? '?redirect=' .$_SESSION['HTTP_REFERER'] : '');
60
$loginUrl  = WB_URL.'/account/login.php';
61
$loginUrl .= (($redirect!='') ? '?redirect=' .$_SESSION['HTTP_REFERER'] : $loginUrl);
62 62

  
63 63
$ThemeUrl  = WB_URL.$wb->correct_theme_source('warning.html');
64 64
// Setup template object, parse vars to it, then parse it

Also available in: Unified diff