[evolvis-commits] r18331: upstream pending merges:↵ nerville 2012-04-09 port from branch 5.2: fix #385

mirabilos at evolvis.org mirabilos at evolvis.org
Wed Apr 11 13:56:51 CEST 2012


Author: mirabilos
Date: 2012-04-11 13:56:51 +0200 (Wed, 11 Apr 2012)
New Revision: 18331

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/cronjobs/get_news_notapproved.pl
   trunk/gforge_base/evolvisforge-5.1/src/cronjobs/homedirs.php
   trunk/gforge_base/evolvisforge-5.1/src/cronjobs/update_docdata_dataword.php
Log:
upstream pending merges:
  nerville 2012-04-09 port from branch 5.2: fix #385

Modified: trunk/gforge_base/evolvisforge-5.1/src/cronjobs/homedirs.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/cronjobs/homedirs.php	2012-04-11 09:34:31 UTC (rev 18330)
+++ trunk/gforge_base/evolvisforge-5.1/src/cronjobs/homedirs.php	2012-04-11 11:56:51 UTC (rev 18331)
@@ -4,6 +4,7 @@
  * GForge Cron Job
  *
  * The rest Copyright 2002-2005 (c) GForge Team
+ * Copyright 2012, Franck Villaume - TrivialDev
  * http://fusionforge.org/
  *
  * This file is part of FusionForge. FusionForge is free software;
@@ -146,14 +147,14 @@
 	}
 
 	if (forge_get_config('use_manual_uploads')) { 
-		$incoming = forge_get_config('groupdir_prefix')/$groupname."/incoming" ;
+		$incoming = forge_get_config('groupdir_prefix')."/".$groupname."/incoming" ;
 		if (!is_dir($incoming))
 		{
 			@mkdir($incoming); 
 		}
 	}
 
-	system("chown -R ".forge_get_config('apache_user').":".forge_get_config('apache_group')." forge_get_config('groupdir_prefix')/$groupname");
+	system("chown -R ".forge_get_config('apache_user').":".forge_get_config('apache_group')." ".forge_get_config('groupdir_prefix')."/".$groupname);
 
 }
 



More information about the evolvis-commits mailing list