How To Change Affiliate Cookies to 45days

Hi,

I want to go go to this process, go to Cpanel, instead seeing things that it should be, when I click, the wpconfig is being downloaded to my computer.

How to change it?

---- Affiliate Cookie Days

To set the amount of days that you want affiliate tracking to take place, you can do so by adding the following code to your wp-config.php file within your root WordPress install.

define('AFFILIATE_COOKIE_DAYS',45);

One more thing,

How to set the system as to overwrite to latest/last promoter who promote the link.

I dont want the person who promote it, lost the sales because the cookies of the first person is stored.

Please help.

Thank you,

Lina