Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
f7139cf402 | ||
8052a30d8c | |||
671dd14bec | |||
52c891cfb0 |
|
@ -3,4 +3,8 @@ RewriteBase /
|
|||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
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
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue
Block a user