config.php 803 B

1234567891011121314151617181920212223
  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'] = 'openws'; // Database name
  13. $config['db_username'] = 'openws'; // Database username
  14. $config['db_password'] = '5jqPQEPGUihnY5XM6oPR'; // Database password
  15. $config['api_url'] = 'https://szollosil.bbus.smbinfo.hu/api/index.php';
  16. $config['api_key'] = '92JxvN5Zeti4E1FDwKg0QPEl3md4vY63';
  17. ?>