0.9.0 - the ZapV version updated to current php standards. Brave search used, while Bing and Google search api are deprecated
This commit is contained in:
parent
3d4298fe8b
commit
4ddaddda3d
31 changed files with 1778 additions and 1 deletions
25
conf/conf.php
Executable file
25
conf/conf.php
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
<?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);
|
||||
define('ZAP_DEBUG', true);
|
||||
|
||||
|
||||
// Brave Search API
|
||||
// Get your API key: https://api.search.brave.com/
|
||||
define('BRAVE_API_KEY', 'your api key');
|
||||
define('BRAVE_BASE', 'https://api.search.brave.com/res/v1/images/search');
|
||||
|
||||
$search_engines = array('brave');
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue