Newer
Older
ournorth2021 / app / models / connect.php
LuisOlaya on 20 Apr 2021 586 bytes cambio
<?php
	date_default_timezone_set('America/Bogota');

	//BASE DE DATOS ADMINISTRACION
	// $connect = mysqli_connect("35.168.59.98", "wtredata", "password", "ournorth2021") or die("No conecta");
	$connect = mysqli_connect("localhost", "wtredata", "password", "ournorth2021");
	// $connect = mysqli_connect("35.168.59.98", "wtredata", "password", "prueba_astellas");
	mysqli_set_charset($connect,"utf8");

	setlocale(LC_TIME,"es_ES");
	$url = 'http://'.$_SERVER['SERVER_NAME'];	
	$api = $url.'/api/';
	$recursos = $url.'/recursos/';	
	$prueba = false;
	$dia_hoy = "";
?>