This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($endpoint == "check_purchase_code") { | |
$code = bof()->nest->user_input("post", "code", "string"); | |
if (!$code) | |
throw new bofException("Código de compra inválido"); | |
// Verificação adicional ou processamento do código aqui | |
header("HTTP/1.1 201 OK"); | |
bof()->api->set_message("ok", [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package QuickAI - OpenAI Content & Image Generator | |
* @author RenildoMarcio | |
* @version 3.5.0 | |
* @Updated Date: 21/May/2023 | |
* @Copyright 2015 RenildoMarcio | |
*/ | |
define("ROOTPATH", dirname(__DIR__)); |