$content .= '$cfg = ' . var_export($cfg, true) . ';';
$fileWrite = file_put_contents(JIRAFEAU_CFG, $content);
$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']) ?
<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']);