-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfiguration.php
More file actions
18 lines (15 loc) · 911 Bytes
/
configuration.php
File metadata and controls
18 lines (15 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
const KIMAI_API_URL = 'https://demo.kimai.org/api';
const KIMAI_API_TOKEN = ''; // create at https://demo.kimai.org/en/profile/susan_super/api-token
const DATABASE_CONNECTION = 'mysql:dbname=sync-test;host=127.0.0.1';
const DATABASE_USER = 'root';
const DATABASE_PASSWORD = 'password';
const DATABASE_COLUMN = '`%s`';
const DATABASE_DATETIME_FORMAT = 'Y-m-d H:i:s';
// you can set a proxy if you are in a corporate network
// const PROXY_URL = 'http://user:password@proxy.locale.dev:1234';
// -------------------------------------------------------------------------------------------
// using SQLServer for Power BI ? You might need adjusted settings:
//
// const DATABASE_CONNECTION = 'sqlsrv:server=sqlserv01;Database=sync-test'; // connection string in correct format
// const DATABASE_COLUMN = '[%s]'; // format of column names in UPDATE statements