1 | <?php
|
---|
2 |
|
---|
3 | $File = 'Interface/GlueXML/GlueLocalization.lua';
|
---|
4 | $Server = 'www.heroesoffantasy.cz';
|
---|
5 | $Items = array(
|
---|
6 | 'http://wwww.wow-europe.com/en/misc/banned.html' => 'http://'.$Server.'/blokovani-uctu/',
|
---|
7 | 'http://www.wow-europe.com/en/support/' => 'http://'.$Server.'/podpora/',
|
---|
8 | 'www.wow-europe.com/account/account-error.html' > $Server.'/podpora/',
|
---|
9 | 'http://www.wow-europe.com/en/serverstatus' => 'http://'.$Server.'/svety/',
|
---|
10 | 'http://www.wow-europe.com/en/account' => 'http://'.$Server.'/ucet',
|
---|
11 | 'www.wow-europe.com/account' => $Server.'/ucet',
|
---|
12 | 'http://status.wow-europe.com/en/alert' => 'http://'.$Server.'/alert/',
|
---|
13 | 'www.wow-europe.com/en/legal' => $Server.'/pravidla',
|
---|
14 | 'www.wow-europe.com/en/burningcrusade/download/' => $Server.'/stazeni/',
|
---|
15 | 'www.wow-europe.com/en/lichking/download/' => $Server.'/stazeni/',
|
---|
16 | 'www.wow-europe.com/account/account-error.html' => $Server,
|
---|
17 | 'eu.blizzard.com/support/index.xml?gameId=11&rootCategoryId=2100' => $Server.'/podpora',
|
---|
18 | 'https://www.wow-europe.com/login-support' => 'http://'.$Server.'/podpora',
|
---|
19 | 'http://www.wow-europe.com/en' => 'http://'.$Server.'/',
|
---|
20 | 'www.wow-europe.com' => $Server,
|
---|
21 | 'www.worldofwarcraft.com' => $Server,
|
---|
22 | 'signup.wow-europe.com' => $Server.'/registrace',
|
---|
23 | );
|
---|
24 |
|
---|
25 | $Content = file_get_contents($File);
|
---|
26 | foreach($Items as $Key => $Item)
|
---|
27 | {
|
---|
28 | $Content = str_replace($Key, $Item, $Content);
|
---|
29 | }
|
---|
30 | file_put_contents($File, $Content);
|
---|
31 |
|
---|
32 | ?>
|
---|