If the code folder is used by several websites, to avoid conflicts in links.db, use the following parameter:
<?php $o = array(); $o['multi_site'] = true; //Indicates to the script that there are several sites $sape = new SAPE_client($o); ?>
In this case, an individual file with links will be created for each website.