- Modificado (modified);
- Preparado (staged/index)
- Consolidado (comitted);
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if (!function_exists('filter')) { | |
| /** | |
| * @param int $source | |
| * @param string $index | |
| * @return mixed | |
| */ | |
| function filter($source, $index) | |
| { | |
| return filter_input($source, $index); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Redireciona para o HTTPS independente do domínio | |
| RewriteCond %{HTTPS} off | |
| RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,QSA,L] | |
| # Remove www. no prefixo do domínio | |
| RewriteCond %{HTTP_HOST} ^www\.(.*) [NC] | |
| RewriteRule ^ https://%1%{REQUEST_URI} [R=301,QSA,L] | |
| # Redirecionar para pasta public | |
| RewriteEngine On |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AC|Acre | |
| AL|Alagoas | |
| AP|Amapá | |
| AM|Amazonas | |
| BA|Bahia | |
| CE|Ceará | |
| DF|Distrito Federal | |
| ES|Espírito Santo | |
| GO|Goiás | |
| MA|Maranhão |