2026-07-15 13:57:05 +02:00
|
|
|
<?php
|
|
|
|
|
/**
|
|
|
|
|
* Local configuration directives here.
|
|
|
|
|
* Change as you like
|
|
|
|
|
*/
|
|
|
|
|
define('MAX_WORDS', 4);
|
|
|
|
|
define('MAX_ZAPS', 9);
|
|
|
|
|
|
|
|
|
|
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);
|
2026-07-17 21:58:05 +02:00
|
|
|
define('ZAP_DEBUG', false);
|
2026-07-15 13:57:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
// Brave Search API
|
|
|
|
|
// Get your API key: https://api.search.brave.com/
|
2026-07-17 21:58:05 +02:00
|
|
|
// 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
|
2026-07-15 13:57:05 +02:00
|
|
|
define('BRAVE_BASE', 'https://api.search.brave.com/res/v1/images/search');
|
|
|
|
|
|
|
|
|
|
$search_engines = array('brave');
|
|
|
|
|
?>
|