Compare commits

..

No commits in common. "main" and "update" have entirely different histories.
main ... update

2 changed files with 1 additions and 6 deletions

View File

@ -3,8 +3,4 @@ RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|assets|images|robots\.txt) RewriteCond $1 !^(index\.php|assets|images|robots\.txt)
RewriteRule ^(.*)$ index.php?/$1 [L] RewriteRule ^(.*)$ index.php?/$1 [L]
php_flag short_open_tag off
php_value post_max_size 50M
php_value upload_max_filesize 50M

View File

@ -1,6 +1,5 @@
<?php <?php
if (isset($_FILES["arquivo"])) { if (isset($_FILES["arquivo"])) {
// print_r($_FILES["arquivo"]);
$nome_temporario = $_FILES["arquivo"]["tmp_name"]; $nome_temporario = $_FILES["arquivo"]["tmp_name"];
$nome_real = $_FILES["arquivo"]["name"]; $nome_real = $_FILES["arquivo"]["name"];
rename( rename(