Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

Database IP as parameter (no replies)

$
0
0
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!

Viewing all articles
Browse latest Browse all 4243

Trending Articles