GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45a1b87
)
upload files fix
author
niekt0
<niekt0@kyberia.cz>
Wed, 3 Nov 2010 00:55:00 +0000
(
01:55
+0100)
committer
niekt0
<niekt0@kyberia.cz>
Wed, 3 Nov 2010 00:55:00 +0000
(
01:55
+0100)
wwwroot/inc/eventz/upload_data_file.inc
patch
|
blob
|
blame
|
history
diff --git
a/wwwroot/inc/eventz/upload_data_file.inc
b/wwwroot/inc/eventz/upload_data_file.inc
index ea00274f74a1fcb5f453dbba864a920262d449a2..070d7581127043fa0e9ce0a56b13a2252cc6dfeb 100644
(file)
--- a/
wwwroot/inc/eventz/upload_data_file.inc
+++ b/
wwwroot/inc/eventz/upload_data_file.inc
@@
-26,6
+26,8
@@
function upload_data_file() {
mkdir(FILE_DIR.$_SESSION['user_id']);
}
+ $suffix = array_pop(explode('.', basename($_FILES['data_file']['name'])));
+
if ($suffix=='zip' && $_POST['unzip']) {
mkdir(TMP."/".$_FILES['data_file']['name']);
This page took
0.143632 seconds
and
4
git commands to generate.