Local Vs Production

alahup! is designed to facilitate the deployment and maintenance of your website(s).

Of course, the configuration files on your production server are likely to be different from the ones on your local server.

The solution is simply to keep both versions in each project !

  • Configuration files with suffix .local.ini or .local.xml will be used by the local server.

  • Configuration files with suffix .prod.ini or .prod.xml will be used by the production server.

How does the server know that it is in production ?

Take a look at the file engine/_config.ini in your install folder.

Simply change : production = false to production = true to make it a production server.