29 lines
728 B
PHP
Executable file
29 lines
728 B
PHP
Executable file
<?php
|
|
/**
|
|
* Local configuration directives here.
|
|
* Change as you like
|
|
*/
|
|
define('MAX_WORDS', 4);
|
|
define('MAX_ZAPS', 9);
|
|
|
|
define('ZAP_DEFAULT_WIDTH', 1067);
|
|
define('ZAP_DEFAULT_HEIGHT', 600);
|
|
|
|
define('ZAP_CURL_TIMEOUT', 12);
|
|
define('ZAP_IMG_TYPE', 'jpg');
|
|
define('ZAP_CANVAS_NAME', 'collage');
|
|
|
|
define('ZAP_DELETE_SOURCE', false);
|
|
define('ZAP_ADULT', false);
|
|
define('ZAP_LOG', true);
|
|
define('ZAP_DEBUG', false);
|
|
|
|
|
|
// Brave Search API
|
|
// Get your API key: https://api.search.brave.com/
|
|
// Put your key in conf/conf.local.php (gitignored) or set BRAVE_API_KEY env var
|
|
// See conf/conf.local.php.dist for a template
|
|
define('BRAVE_BASE', 'https://api.search.brave.com/res/v1/images/search');
|
|
|
|
$search_engines = array('brave');
|
|
?>
|