Newer
Older
ournorth2021 / admin / models / connect.php
LuisOlaya on 8 Apr 2021 561 bytes primer
<?php
	date_default_timezone_set('America/Bogota');

	//BASE DE DATOS ADMINISTRACION
	$connect = mysqli_connect("localhost", "developerOurPeru", "Dev2021!*", "ournorth2021") or die("No conecta");
	mysqli_set_charset($connect,"utf8");
	
	setlocale(LC_TIME,"es_ES");
	$url = 'https://'.$_SERVER['SERVER_NAME'];
	$url_admin = 'https://'.$_SERVER['SERVER_NAME']."/admin";
	$uri_ruta = $url.$_SERVER['REQUEST_URI'];

	$recursos_local = $_SERVER['DOCUMENT_ROOT'].'/recursos/';
	$recursos_plubico = $url.'/recursos';	
	$api = $url.'/admin/api/';	
?>