Move installation path

Hello!

 

I need to change the installation path from:

127.0.0.1/emoncms/

to

127.0.0.1/

 

With just copy I get the login ... but all links are death.

Where is the absolute path saved? In the database?

Or how can I change the path?

 

Thank you!