Author Topic: config tweaks  (Read 1918 times)

Offline Xagone

  • Posts: 482
  • Gender: Male
  • Developper
    • Xagone Inc
config tweaks
« on: April 16, 2009, 09:47:14 PM »
didn't know were to put this.

but just for fun, I've tweak my config file to be more... versatile..

with some install I move them from a server to another, to a subdomains to a folder and so forth, i need to change the config everytime, so in config.php i've tweaked it like this :

after the mysql configs, i've replaced the defined of WB_PATH,WB_URL,ADMIN_PATH & ADMIN_URL by this :
Code: [Select]
define('WB_PATH', dirname(__FILE__));
define('WB_URL', 'http://'.$_SERVER['HTTP_HOST']);

there is no practicality to this, just mental gymnastic fun!
Xagone Inc. (formerly VotreEspace)