Revision: 26244
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 21, 2010 10:33 by electblake
Initial Code
if (stripos($_SERVER['SERVER_ADDR'],'192.168.1.5') === 0 ) { $db_url = 'mysqli://user:pass@localhost/dbname_dev'; } else { $db_url = 'mysqli://user:pass@localhost/dbname_live'; }
Initial URL
Initial Description
Initial Title
Drupal - Settings.php that adapts to live & dev servers
Initial Tags
drupal, Development
Initial Language
PHP