Images.php
authorChris <chris@roojs.com>
Thu, 16 Aug 2012 09:01:02 +0000 (17:01 +0800)
committerChris <chris@roojs.com>
Thu, 16 Aug 2012 09:01:02 +0000 (17:01 +0800)
Images.php

index 020a00a..fc30f85 100644 (file)
@@ -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'])) {