git.p6c8.net
/
jirafeau_mojo42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
17e768a
)
small verification
author
Jerome Jutteau
<mojo@couak.net>
Mon, 14 Jan 2013 10:23:22 +0000
(10:23 +0000)
committer
Jerome Jutteau
<mojo@couak.net>
Mon, 14 Jan 2013 10:23:22 +0000
(10:23 +0000)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index 2b6e889a98bf91f867b3919f2754922a0ba64bc9..9fb43aa3181e0703080f5727f9157f82256b9340 100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-35,9
+35,13
@@
if (file_exists (JIRAFEAU_ROOT . 'install.php')
$writable = is_writable (VAR_FILES) && is_writable (VAR_LINKS);
$res = array ();
$writable = is_writable (VAR_FILES) && is_writable (VAR_LINKS);
$res = array ();
-if ($writable && isset ($_POST['jirafeau']))
+if ($writable && isset ($_POST['jirafeau']) && isset ($_FILES['file'])
+ && isset ($_POST['time']))
{
{
- $key = $_POST['key'];
+ if (!isset ($_POST['key']))
+ $key = '';
+ else
+ $key = $_POST['key'];
$time = time ();
switch ($_POST['time'])
$time = time ();
switch ($_POST['time'])
patrick-canterino.de