projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of /home/git/platal into profile_edit
[platal.git]
/
include
/
validations
/
photos.inc.php
diff --git
a/include/validations/photos.inc.php
b/include/validations/photos.inc.php
index
9010dea
..
c62cff7
100644
(file)
--- a/
include/validations/photos.inc.php
+++ b/
include/validations/photos.inc.php
@@
-54,7
+54,7
@@
class PhotoReq extends Validate
private function read(PlUpload &$upload)
{
private function read(PlUpload &$upload)
{
- $this->valid = $upload->resizeImage(240, 300, 160, 0, SIZE_MAX);
+ $this->valid = $upload->resizeImage(240, 300, 160, 0, SIZE_MAX);
if (!$this->valid) {
$this->trig('Le fichier que tu as transmis n\'est pas une image valide, ou est trop gros pour être traité');
}
if (!$this->valid) {
$this->trig('Le fichier que tu as transmis n\'est pas une image valide, ou est trop gros pour être traité');
}
@@
-62,7
+62,7
@@
class PhotoReq extends Validate
list($this->x, $this->y, $this->mimetype) = $upload->imageInfo();
$upload->rm();
}
list($this->x, $this->y, $this->mimetype) = $upload->imageInfo();
$upload->rm();
}
-
+
// }}}
// {{{ function isValid()
// }}}
// {{{ function isValid()