Revision 1450
Added by DarkViper over 13 years ago
branches/2.8.x/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
------------------------------------- 2.8.2 ------------------------------------- |
14 |
22 May-2011 Build 1450 Werner v.d.Decken(DarkViper) |
|
15 |
# small fix at calling of moveCssToHead() in /index.php |
|
14 | 16 |
07 May-2011 Build 1449 Werner v.d.Decken(DarkViper) |
15 | 17 |
! cleanup some code in edit_module_files.php |
16 | 18 |
07 May-2011 Build 1448 Dietmar Woellbrink (Luisehahne) |
branches/2.8.x/wb/admin/interface/version.php | ||
---|---|---|
52 | 52 |
|
53 | 53 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
54 | 54 |
if(!defined('VERSION')) define('VERSION', '2.8.2.RC5'); |
55 |
if(!defined('REVISION')) define('REVISION', '1449');
|
|
55 |
if(!defined('REVISION')) define('REVISION', '1450');
|
|
56 | 56 |
|
57 | 57 |
?> |
branches/2.8.x/wb/index.php | ||
---|---|---|
27 | 27 |
} |
28 | 28 |
|
29 | 29 |
// Check if the config file has been set-up |
30 |
if(!defined('WB_PATH'))
|
|
30 |
if(!defined('TABLE_PREFIX'))
|
|
31 | 31 |
{ |
32 | 32 |
/* |
33 |
* Anmerkung: HTTP/1.1 verlangt einen absoluten URI inklusive dem Schema,
|
|
34 |
* Hostnamen und absoluten Pfad als Argument von Location:, manche aber nicht alle
|
|
35 |
* Clients akzeptieren jedoch auch relative URIs.
|
|
33 |
* Remark: HTTP/1.1 requires a qualified URI incl. the scheme, name
|
|
34 |
* of the host and absolute path as the argument of location. Some, but
|
|
35 |
* not all clients will accept relative URIs also.
|
|
36 | 36 |
*/ |
37 | 37 |
$host = $_SERVER['HTTP_HOST']; |
38 | 38 |
$uri = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); |
39 | 39 |
$file = 'install/index.php'; |
40 | 40 |
$target_url = 'http://'.$host.$uri.'/'.$file; |
41 |
$sResponse = $_SERVER['SERVER_PROTOCOL'].' 307 Temporary Redirect'; |
|
42 |
header($sResponse); |
|
41 | 43 |
header('Location: '.$target_url); |
42 | 44 |
exit; // make sure that subsequent code will not be executed |
43 | 45 |
} |
... | ... | |
145 | 147 |
$output = filter_frontend_output($output); |
146 | 148 |
} |
147 | 149 |
} |
148 |
|
|
149 | 150 |
// move css definitions into head section |
150 |
$output = moveCssToHead($output); |
|
151 |
if(function_exists('moveCssToHead')) { |
|
152 |
$output = moveCssToHead($output); |
|
153 |
} |
|
154 |
// now send complete page to the browser |
|
151 | 155 |
echo $output; |
152 | 156 |
// end of wb-script |
153 | 157 |
exit; |
Also available in: Unified diff
local sync