config.php 676 B

123456789101112131415161718192021
  1. <?php
  2. if ($_SERVER['SERVER_NAME']=='fp') {
  3. $development_postfix = ':8080/';
  4. }
  5. else {
  6. $development_postfix = '/';
  7. }
  8. $config['base_url'] = 'https://'.$_SERVER['SERVER_NAME'].$development_postfix; // Base URL including trailing slash (e.g. http://localhost/)
  9. $config['default_controller'] = 'main'; // Default controller to load
  10. $config['error_controller'] = 'error'; // Controller used for errors (e.g. 404, 500 etc)
  11. $config['db_host'] = 'localhost'; // Database host (e.g. localhost)
  12. $config['db_name'] = 'c1rockhome'; // Database name
  13. $config['db_username'] = 'c1rockhome'; // Database username
  14. $config['db_password'] = 't3NrN3WWjn!wE'; // Database password
  15. ?>