![]() Server : LiteSpeed System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : claqxcrl ( 523) PHP Version : 8.1.32 Disable Function : NONE Directory : /home/claqxcrl/public_html/classes/ |
<?php //FilipeMeia If localhost define('DB_SERVER', 'localhost'); define('DB_USER', 'claqxcrl_ondjobyt'); define('DB_PASS', 'OGb%Wr8R;~DCyuK1i1'); define('DB_NAME', 'claqxcrl_geraldb'); //FilipeMeia Change Host if remote host /* $whitelist = array( '127.0.0.1', '::1' ); if(!in_array($_SERVER['REMOTE_ADDR'], $whitelist)){ // Muda para servidorremoto define('DB_SERVER', 'localhost'); define('DB_USER', 'claqxcrl_ondjobyt'); define('DB_PASS', '9O20CkFAl6S7fBjB2Jd3'); define('DB_NAME', 'claqxcrl_geraldb'); } */ /*//Filipe Meia Caminho global das imagens anunciadas $pathimg = 'ondjoweb/admin/galeriafotos/'; $siteOndjoBYTES = 'https://www.ondjobytes.ao'; //Filipe Meia trabalha url base do site // base directory $base_dir = __DIR__; // server protocol $protocol = empty($_SERVER['HTTPS']) ? 'http' : 'https'; // domain name $domain = $_SERVER['SERVER_NAME']; // base url $base_url = preg_replace("!^${doc_root}!", '', $base_dir ); // server port $port = $_SERVER['SERVER_PORT']; $disp_port = ($protocol == 'http' && $port == 80 || $protocol == 'https' && $port == 443) ? '' : ":$port"; // put em all together to get the complete base URL //$url = "${protocol}://${domain}${disp_port}${base_url}"; $urlSite = "${protocol}://${domain}${disp_port}"; */ ?>