<?php 

	/*
		VARIÁVEIS DE DIRETÓRIOS
			- DIR_ACTIONS   => __application__/actions/
			- DIR_VIEWS     => __application__/views/
			- DIR_TEMPLATES => __application__/views/templates/
			- DIR_PAGES     => __application__/views/pages/
			- DIR_LIBRARIES => __libraries__/

		MÉTODOS DE REQUISIÇÕES
			- GET | POST | PUT | DELETE | HEAD | OPTIONS | ALL 

		AUTENTICAÇÃO NECESSÁRIA
			- TRUE | FALSE 
		VALIDAÇÃO CSRF
			- TRUE | FALSE
	*/
	
	// VARIÁVEL DE ROTAS
	const ROUTES = [
		"" => [
			"method" => "ALL",
			"file" => DIR_PAGES."home.php",
			"authentication" => false,
			"csrf_validation" => false,
			"headers" => [
				"Content-Type" => "text/html; charset=UTF-8",
				"X-Frame-Options" => "DENY"
			]
		],
		"/login/" => [
			"method" => "GET",
			"file" => DIR_PAGES."login/login.php",
			"authentication" => false,
			"csrf_validation" => false,
			"headers" => [
				"Content-Type" => "text/html; charset=UTF-8",
				"X-Frame-Options" => "DENY"
			]
		],
		"/logar/" => [
			"method" => "POST",
			"file" => DIR_ACTIONS."login/logar.php",
			"authentication" => false,
			"csrf_validation" => false,
			"headers" => [
				"Content-Type" => "application/json; charset=UTF-8",
				"X-Frame-Options" => "DENY"
			]
		],
		"/logout/" => [
			"method" => "GET",
			"file" => DIR_ACTIONS."login/logout.php",
			"authentication" => false,
			"csrf_validation" => false,
			"headers" => [
				"Content-Type" => "text/html; charset=UTF-8",
				"X-Frame-Options" => "DENY"
			]
		]
	];

?>