<?php
//error_reporting(0);
error_reporting(E_ALL & ~E_NOTICE);
date_default_timezone_set("Europe/Oslo");

// all backend link configuration here, assumes diffuse and reason are on the same host:

$BACKEND_IP = "10.0.0.89"; // host with ai model
$BACKEND_AI_PORT = 11434; // Default 11434
$BACKEND_IMG_PORT = 7860; // Default 7860

$curl_timeout = 1740; // keep curl timeout slight less than php max execution for ai response time (Default Never, set to 1740 for vision model, match fcgi or execution time 1800 in php)
$curl_connout = 15; // Max time just to establish the connection

$cleanup_uploads = true; // auto delete uploaded files after use
// upscale is set to always replace original with new in place

// reminder to also enable 'gd' in php.ini for image preview/thumbs generating

// php worker process setup for windows
//$php_bin = PHP_BINARY; // set from environment
$php_bin = "C:/xampp/php/php.exe";
?>
