GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reset_password fix
[mirrors/Kyberia-bloodline.git]
/
wwwroot
/
inc
/
eventz
/
add.inc
diff --git
a/wwwroot/inc/eventz/add.inc
b/wwwroot/inc/eventz/add.inc
index f77499df345a89fc8eb87bc4eee120d96d969e93..e4b68d03f65cc2e975ab867cf9a30c1f44b868a5 100644
(file)
--- a/
wwwroot/inc/eventz/add.inc
+++ b/
wwwroot/inc/eventz/add.inc
@@
-106,8
+106,8
@@
function add() {
}
if ($_FILES['data_file']['tmp_name']) {
}
if ($_FILES['data_file']['tmp_name']) {
-
copy($_FILES['data_file']['tmp_name'], FILE_DIR.$_SESSION['user_id'].'/'.$node_id.".$suffix"
);
-
symlink(FILE_DIR.$_SESSION['user_id'].'/'.$node_id.".$suffix",FILE_DIR.'/'.
$node_id);
+
require(INCLUDE_DIR.'filez.inc'
);
+
filez::upload_data_file(
$node_id);
}
//substitute @@@ token by a node_id of a newly created node
}
//substitute @@@ token by a node_id of a newly created node
This page took
0.093484 seconds
and
4
git commands to generate.