changeset 834:6b962658351c

Fix path setup.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 25 Nov 2014 18:42:56 +0200
parents f03c4e9aad29
children 1cc9af3f90f0
files msite.inc.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/msite.inc.php	Tue Nov 25 14:56:06 2014 +0200
+++ b/msite.inc.php	Tue Nov 25 18:42:56 2014 +0200
@@ -1192,7 +1192,7 @@
   }
 
   // Move file to its destination
-  $fullFile = stMakePath(FALSE, FALSE, array(stGetSetting($uploadType."Path"), $compo["cpath"], $filename));
+  $fullFile = stMakePath(FALSE, FALSE, array(stGetSetting("entryPath"), $compo["cpath"], $filename));
   if (@move_uploaded_file($tmpFilename, $fullFile) === false)
   {
     error_log("Could not move uploaded file '".$tmpFilename."' to '".$fullFile."'.");