projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8491494
)
Images.php
author
Chris
<chris@roojs.com>
Thu, 16 Aug 2012 09:01:02 +0000
(17:01 +0800)
committer
Chris
<chris@roojs.com>
Thu, 16 Aug 2012 09:01:02 +0000
(17:01 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
020a00a
..
fc30f85
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-144,6
+144,10
@@
class Pman_Core_Images extends Pman
function post()
{
+
+ if (!$this->authUser) {
+ $this->jerr("image conversion only allowed by registered users");
+ }
// converts a posted string (eg.svg)
// into another type..
if (empty($_REQUEST['as'])) {