saved emails, gmail, hotmail start, home, landing etc

This commit is contained in:
Dr3amFury
2025-08-20 12:58:40 +02:00
parent 08a5cead74
commit 9ec1e0f9fe
17 changed files with 683 additions and 172 deletions

View File

@@ -1,11 +1,12 @@
<?php
// config.php
function getApi(){
function getApi() {
$api_key = getenv('APIKEY');
if($api_key){
return array('openai_api_key' => $api_key);
}else{
return false;
if ($api_key) {
return $api_key;
} else {
// fallback hardcoded key for testing
return "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";
}
}
?>
?>