Index: trunk/core/kernel/utility/formatters/upload_formatter.php =================================================================== diff -u -N -r8397 -r8686 --- trunk/core/kernel/utility/formatters/upload_formatter.php (.../upload_formatter.php) (revision 8397) +++ trunk/core/kernel/utility/formatters/upload_formatter.php (.../upload_formatter.php) (revision 8686) @@ -7,11 +7,11 @@ function kUploadFormatter() { - if ($this->DestinationPath) - { + parent::kBase(); + + if ($this->DestinationPath) { $this->FullPath = FULL_PATH.$this->DestinationPath; } - parent::kBase(); } @@ -235,8 +235,9 @@ function kPictureFormatter() { - $this->NakeLookupPath = IMAGES_PATH; - $this->DestinationPath = IMAGES_PENDING_PATH; + $this->NakeLookupPath = IMAGES_PATH; // used ? + $this->DestinationPath = constOn('ADMIN') ? IMAGES_PENDING_PATH : IMAGES_PATH; + parent::kUploadFormatter(); }