@@ -17,4 +17,7 @@ $config['db_name'] = 'openws'; // Database name
$config['db_username'] = 'openws'; // Database username
$config['db_password'] = '5jqPQEPGUihnY5XM6oPR'; // Database password
+$config['api_url'] = 'https://szollosil.bbus.smbinfo.hu/api/index.php';
+$config['api_key'] = '92JxvN5Zeti4E1FDwKg0QPEl3md4vY63';
+
?>
@@ -2,8 +2,8 @@
class api_model extends Model {
- const API = 'https://szollosil.bbus.smbinfo.hu/api/index.php';
- const API_KEY = '92JxvN5Zeti4E1FDwKg0QPEl3md4vY63';
+ const API = $config['api_url'];
+ const API_KEY = $config['api_key'];
public function getGroupsList() {
$curl = curl_init();