========================================================================================================================
KVS license domain change
========================================================================================================================

NOTE: it is expected (but not necessary) that KVS installation folder will be copied or moved to another folder due to
domain name change. If you decide to leave KVS in the old folder, you should ignore steps related to filesystem path
changes.


1) Copy all files from archive into project root folder (a project root folder is either a domain root, or a subfolder
under a domain root).

2) Update /admin/include/setup.php file with the following changes:

  a. Modify all filesystem paths to new values.
  b. All places that refer old domain name modify with new domain name.
  c. Modify the following settings with new values:
    $config['installation_id']="b5785889f020f16427981f149a3bfbdb";
    $config['player_license_code']="$515201916997411";
    $config['ahv']="62634853308920199080646102703811";
  d. If this setting is not empty, modify it as well:
    $config['player_lrc']="";

3) Modify filesystem paths for all local conversion servers in admin panel.

4) Modify filesystem paths and URLs for all local storage servers in admin panel.

5) Verify if old domain name is used in Content Settings, Player and Embed Player Settings in admin panel. Modify it
with new domain name for all usages.

6) Modify old domain name with new domain name in the following files:
  a. /.htaccess
  b. /player/.htaccess (if exists)
  c. /robots.txt

7) If you use VAST subscription code in player settings or embed player settings, take the updated code from license
settings page in your customer zone on KVS website.

8) Run https://desi.fuckmaza.com/kvs_change_domain.php script, which will verify all changes are completed and will also
check if your site templates use the old domain name. On the first run this script will ask you to input your old
domain name without http:// or any other prefixes. Fix all found errors. You can run another check by simply refreshing
browser window with F5.

9) Modify filesystem path in cron command.

10) Run installation check in audit plugin.

11) IMPORTANT! Delete kvs_change_domain.php script from your server.
