Compare commits

...

4 Commits
update ... main

2 changed files with 6 additions and 1 deletions

View File

@ -4,3 +4,7 @@ RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|assets|images|robots\.txt)
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,5 +1,6 @@
<?php
if (isset($_FILES["arquivo"])) {
// print_r($_FILES["arquivo"]);
$nome_temporario = $_FILES["arquivo"]["tmp_name"];
$nome_real = $_FILES["arquivo"]["name"];
rename(