Hello,
I'm using Piwik with SVN on my local machine and on the online live system. All the files are the same. I want to insert my local data to localhost and on the live system to another database, which has a separate IP and is not localhost.
The problem is, I can't use php code in the config.ini.php to check whether the script runs online or on the local machine and return a different IP . Can I use the bootstrap.php file to manage that somehow or is there another solution ?
Thank you very much for you help!
I'm using Piwik with SVN on my local machine and on the online live system. All the files are the same. I want to insert my local data to localhost and on the live system to another database, which has a separate IP and is not localhost.
The problem is, I can't use php code in the config.ini.php to check whether the script runs online or on the local machine and return a different IP . Can I use the bootstrap.php file to manage that somehow or is there another solution ?
Thank you very much for you help!