X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=install%2Fcivicrm.php;h=6b622b0724676b34c345f2473658bdc9ea8c9f45;hb=81ebda7b3f14105c999036936cf9fd150579c7b6;hp=f50538b360d1c1618bfea2552747eed91d3d673c;hpb=53310fc2e82a7d5d604380b16e1e795fd9882e21;p=civicrm-core.git diff --git a/install/civicrm.php b/install/civicrm.php index f50538b360..6b622b0724 100644 --- a/install/civicrm.php +++ b/install/civicrm.php @@ -23,14 +23,14 @@ | 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; @@ -71,7 +71,7 @@ function civicrm_write_file($name, &$buffer) { if (!$fd) { die("Cannot open $name"); } - fputs($fd, $buffer); + fwrite($fd, $buffer); fclose($fd); }