-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.sample.php
More file actions
23 lines (18 loc) · 871 Bytes
/
Copy pathconfig.sample.php
File metadata and controls
23 lines (18 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
// PHP Grid database connection settings, Only need to update these in new project
// Replace {{dbtype}} with one of these: mysqli,oci8 (for oracle),mssqlnative,postgres,sqlite,sybase. Don't include {{ }}
define("PHPGRID_DBTYPE","{{dbtype}}");
define("PHPGRID_DBHOST","{{dbhost}}");
define("PHPGRID_DBUSER","{{dbuser}}");
define("PHPGRID_DBPASS","{{dbpass}}");
define("PHPGRID_DBNAME","{{dbname}}");
// database charset
define("PHPGRID_DBCHARSET","utf8");
// Show debugging message in case of an issue, should be turned off for production
define("PHPGRID_DEBUG","1");
// OpenAI /v1/chat/completions complaint Api Key
define("AI_ENDPOINT","https://api.openai.com/v1/chat/completions");
define("AI_MODEL","gpt-4o-mini");
define("AI_APIKEY","sk-...");
// Basepath for lib
define("PHPGRID_LIBPATH",dirname(__FILE__).DIRECTORY_SEPARATOR."lib".DIRECTORY_SEPARATOR);