When you are ready to upgrade Cobub Razor from version 0.7.1 to version 0.7.2, following steps is required:

-

===== Step one: download the code of V0.7.2 =====

-

1、Download the code of version 0.7.2 from https://​github.com/​cobub/​razor , and you can get the razor-master.zip,​ unzip it to get razor-master folder, which contains the sdk and web folders.

-

-

2、Copy the **web** folder to the directory of your web site where you are ready to upgrade Cobub Razor (Note: web can not be the same name with Cobub Razor’s name of V0.7.1 or V0.7.2 ). To facilitate debugging, you can rename ”web” ​ to ​“razor_v7.2“,​ and set the $ config ['​base_url'​] ​ value to the ‘http://​yoururl/​razor_v7.2 ‘ in **config.php** which is under the **application** folder.

-

-

3、Copy the **autoload.php** and **database.php** ​ of V0.7.1 under the directory of **application\config\** to the diretory of **application\config\** of V0.7.2, override these two files of V0.7.2, and replace $route['​default_controller'​] = “install/​installation” to $route['​default_controller'​] = “report/​home” of V0.7.2 in **routes.php**.