function jirafeau_export_cfg($cfg)
{
$content = '<?php' . NL;
- $content .= '/* ' . t('This file was generated by the install process. ' .
+ $content .= '/* This file was generated by the install process. ' .
'You can edit it. Please see config.original.php to understand the ' .
- 'configuration items.') . ' */' . NL;
+ 'configuration items. */' . NL;
$content .= '$cfg = ' . var_export($cfg, true) . ';';
$fileWrite = file_put_contents(JIRAFEAU_CFG, $content);
<td class = "field"><input type = "text" name = "web_root"
id = "input_web_root" value = "<?php
echo(empty($cfg['web_root']) ?
- 'http://' . $_SERVER['HTTP_HOST'] . str_replace(basename(__FILE__),
- '', $_SERVER['REQUEST_URI']) : $cfg['web_root']);
+ $_SERVER['HTTP_HOST'] . str_replace(
+ basename(__FILE__),
+ '',
+ $_SERVER['REQUEST_URI']
+ ) : $cfg['web_root']);
?>" size = "40" /></td>
</tr> <tr> <td class = "info" colspan = "2"><?php
echo t('DATA_DIR_EXPLAINATION');