[Fusionforge-commits] r15303 - branches/Branch_5_2/src/cronjobs

Franck VILLAUME nerville at fusionforge.org
Mon Apr 9 09:43:19 CEST 2012


Author: nerville
Date: 2012-04-09 09:43:18 +0200 (Mon, 09 Apr 2012)
New Revision: 15303

Modified:
   branches/Branch_5_2/src/cronjobs/homedirs.php
Log:
fix syntax error: missing quote

Modified: branches/Branch_5_2/src/cronjobs/homedirs.php
===================================================================
--- branches/Branch_5_2/src/cronjobs/homedirs.php	2012-04-08 13:00:30 UTC (rev 15302)
+++ branches/Branch_5_2/src/cronjobs/homedirs.php	2012-04-09 07:43:18 UTC (rev 15303)
@@ -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 Fusionforge-commits mailing list