<?php
	
	if (basename($_SERVER["PHP_SELF"]) == "config.php") {
		
		/*REDIRECIONA PARA O LOGIN*/
		echo "<script language='javaScript'>
				  window.location.href='../'
			  </script>";
		
	}
	
	$dbhost = 'localhost';
	$dbuser = 'wctvapps_phsss';
	$dbpass = '19758466waidy';
	$dbname = 'wctvapps_phsss';
	$db = new mysqli($dbhost, $dbuser, $dbpass, $dbname);

?>