| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2014
* $Id$
- *
+ * @param $filesDirectory
*/
function civicrm_setup($filesDirectory) {
global $crmPath, $sqlPath, $pkgPath, $tplPath;
if (!$fd) {
die("Cannot open $name");
}
- fputs($fd, $buffer);
+ fwrite($fd, $buffer);
fclose($fd);
}