25 | | Your Dolphin installation has been successfully upgraded. |
| 29 | |
| 30 | '''Step 5:''' If you have already installed 0003 beta build before upgrade, do the following instructions: |
| 31 | Go to your inc/header.inc.php file, find the line: |
| 32 | |
| 33 | {{{if( $_SERVER['HTTP_HOST'] != $aUrl['host'] )}}} |
| 34 | |
| 35 | and replace it with: |
| 36 | |
| 37 | {{{if( isset($_SERVER['HTTP_HOST']) and $_SERVER['HTTP_HOST'] != $aUrl['host'] )}}} |
| 38 | |
| 39 | If you have installed 6.0.0002, do not do this step and follow the next. |
| 40 | |
| 41 | '''Step 6:''' Go to your inc/header.inc.php and find following line: |
| 42 | |
| 43 | {{{define('DATABASE_NAME', $db['db']);}}} |
| 44 | |
| 45 | And add after it the next code: |
| 46 | |
| 47 | |
| 48 | {{{ |
| 49 | $aUrl = parse_url( $site['url'] ); |
| 50 | if( isset($_SERVER['HTTP_HOST']) and $_SERVER['HTTP_HOST'] != $aUrl['host'] ) { |
| 51 | header( "Location:http://{$aUrl['host']}{$_SERVER['REQUEST_URI']}" ); |
| 52 | exit; |
| 53 | } |
| 54 | }}} |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | '''Your Dolphin installation has been successfully upgraded.''' |
| 60 | |