diff msite.inc.php @ 866:db9810510670

s/fileperm(/fileperms(/ :S
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 26 Nov 2014 11:45:48 +0200
parents 16bc6c1029ee
children 2447673c5d04
line wrap: on
line diff
--- a/msite.inc.php	Wed Nov 26 11:45:30 2014 +0200
+++ b/msite.inc.php	Wed Nov 26 11:45:48 2014 +0200
@@ -1140,7 +1140,7 @@
       "Path '".$dstPath."' for compo ID #".$entry["compo_id"]." does not exist.",
       "The directory for entry's compo does not exist!");
   
-  $dstPerms = fileperm($dstPath);
+  $dstPerms = fileperms($dstPath);
   if (($dstPerms & 0x4000) === 0)
     return stFileError($userID,
       "Path for entry's compo '".$dstPath."' is not a directory.",